Question: I could use some help with this C programming assignment. I have to make a program that will generate the cost of living for two

I could use some help with this C programming assignment.

I have to make a program that will generate the cost of living for two cities, the current and the desired.

Here is the prompt:

The user must be allowed to enter the data for the (1) city where s/he lives now and for the (2) city where s/he wants to live. The results will show a comparison of cost of living for both cities.

Your code must meet the following technical specifications 1. use variables of different types 2. avoid using global variables 3. use a constant, global constants are ok 4. use at least one if or if else statement 5. use at least one switch statement 6. use at least one for loop 7. use at least one while or do while loop 8. use at least ten functions with prototype. at least one must return a value at least half of them must take input 9. check input for errors 10. check for varied input, e.g., uppercase and lowercase letters 11. format output reports properly for readability

The question has more to it, like salary, children, etc, but I could you some help just with setting it up.

thank you

Print instructions to the user explaining how to interact with the cost of living calculator. You must be very precise: should the user enter a letter or a number? Can the user enter an uppercase letter or lowercase letter? Make sure that your program checks for incorrect input and allows the user to re-enter data if incorrect. You will graded on this input and output handling--user interaction--in addition to your coding skills. The user must be allowed to enter the data for the (1) city where s/he lives now and for the (2) city where s/he wants to live. The results will show a comparison of cost of living for both cities. Allow the user to answer all these questions below. You can adjust the questions to your liking. You can expand the details given to the user in the questions with the information listed after them here. Or you can provide additional information that you may identify as clear and understandable. Whatever you choose, you must make sure to state your question properly and inform the user how to respond.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!