Hello User

  • Create a new file called hello-user.c
  • Write the code to declare a string that can hold thirty characters (+ the null terminator).
  • Prompt the user, and then read their name into the string (ensure you read at most thirty characters)
  • Output a "hello" message for the user.
    • On your own update the program to output custom messages for different names... make sure you have a custom message for your tutor.

Statistics Calculator

  • Create a new file called stats.c
  • Write the code to declare an array of ten float values in main.
  • Write a procedure to read values into the array, called populate_values.
    • On your own write a procedure to output the values to the Terminal, called output_values.
  • Write a function to calculate the total of the array, called sum_of_values
  • Write a function to calculate the average (mean) of the array, called mean_value
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.