Question: Write in C Program for all 5 question, Create FLOW CHART FOR EACH QUESTION , ADD SCREEN SHOT OF EXECUTION FOR EACH C PROGRAM and

Write in C Program for all 5 question, Create FLOW CHART FOR EACH QUESTION , ADD SCREEN SHOT OF EXECUTION FOR EACH C PROGRAM and COMPLETE ALL EXERCISE FULLY WITH COMMENTS

1.Read the number of days elapsed in the year and print to which month it belongs. For example if 32 is captured it will print the month is February.

2.Read the date of death (day, month and year) of a person and the current date (day, month and year), to later print the age as of today. For example you have 19 years 7 months and 14 days.

3.Write a program that asks a user to enter an interger value and returns an indication of whether the number entered is even or odd. (Hint: Use the mod division to determin this.) a. Use a double selection structure. b. Use a switch structure

4.Write a program that when a user enters a water tempreture in degrees fahrenheit (as real numbers between 110 and -10), converts it into degrees Centigrade and determines whether the water is about to boil (>100 degree C), about to freeze (<=0 deg. C) or in a liquid (somewhere in between). Reject any entries from the user that are outside of the range indicated.

5.The water in a swimming pool should be kept at a neutral pH level. A common test for pool water pH is to put in a few drops of a solution in a small sample of pool water and observe its color. If purplish, this indicates a high pH (alkalinity). Alternatively, an overly orange shade will idicate low pH(acidity). If the shade is reddish/mildy organge, thisidicates a neutral pH. Write a program that indicates the pH of the water if the color of the sample is entered as p for purple, o for orange or r for reddish. a. Use a multiple selection structure b. Use a switch structure.

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!