Question: Write a code using C. Instructions Follow instructions carefully, failure to do so may result in points being deducted. Hand in all your source code
Instructions Follow instructions carefully, failure to do so may result in points being deducted. Hand in all your source code files through webhandin and make sure your programs compile and run by using the webgrader interface. You can grade yourself and re-handin as many times as you wish up until the due date. Naming Instructions Place your code in source files with the file names rainfall.c agn.c, and isotope.c respectively. Do some rudimentary input validation and exit the program with an error message on any erroneous input. Programs 1. Implement a program to solve the clasic "Rainfall Problen" which has been used skills. Write an interactive program that repeatedly prompts the user to enter an integer which represents the amount of rainfall on a particular day. The program should continue prompting and reading figures until the user enters the integer 99999. After 99999 is entered, it should compute and print the correct average rainfall. That is, it should not count the final 99999. In addition, negative values should be ignored but not cause an error or termination of the program. For example, if the user entered the sequence 4 0 -1 10 99999 the output should look something like the following. in CS education studies to assess programming knowledge and Average rainfal1: 4.66
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
