Determines the number of days in the month entered

Assignment Help Computer Engineering
Reference no: EM132107269

This program must meet the following criteria:

1.Prompts the user to enter a month and year.

2.Determines the number of days in the month entered (2=28, 3=31, etc.)

3.Uses the answer to step 2 in a FOR-LOOP such that the will be asked to enter a FAHRENHEIT temperature for each day of the month that includes the DATE

a.Prompts the user to enter the Fahrenheit temperature for 2/1/2009..etc

b.Continues to prompt the user for the Fahrenheit temperature for EACH day of that month entered until the loop reaches the last day of that month...e.g.2/28/2009...last dayof February.

4. After each temperature entry, the program will convert the Fahrenheit temperature into Celsius and then print the two temperatures and the date

a. On 2/1/2009 the Fahrenheit temperature was 32 F which is 0 C.... etc

b.On 2/28/2009 the Fahrenheit temperature was 212 F which is 100 C.

How do I write this in a C program?

Reference no: EM132107269

Questions Cloud

Create a prototype for an application : A small hospital has contacted you and asked you to create a prototype for an application that can handle all of their administrative activities.
Simulate arcade car racing game : If you get to the end of the screen, the car should start over on the left side of the screen. The AI car should start over but should move faster this time.
What would be a good diet for patient : What would be a good diet for this patient? Breakfast lunch and dinner?
Patient presents with uremia and glomerular filtration rate : What state of CRF (Chronic Renal Failure) is this patient in? What should be the next medical course of action and why?
Determines the number of days in the month entered : Prompts the user to enter a month and year. Determines the number of days in the month entered (2=28, 3=31, etc.)
Patient presents with classic features of metabolic syndrome : Patient presents with classic features of Metabolic Syndrome. As a health care professional, what treatment would you recommend
Write a program that reads a string from the user : Write a program that reads a string from the user containing a date in the form mm/dd/yyyy and saves it in another string in the form month day, year.
Risk of developing an eating disorder : Describe demographic and psychological factors associated with a risk of developing an eating disorder.
Create two classes named as stationary and beverage : Create two classes named as ‘Stationary' and ‘Beverage'. Think of proper attributes for each class. each attribute must have a ‘name'.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a program that simulates inventory bins in a warehouse

Write a program that simulates inventory bins in a warehouse. Each bin holds a number of the same type of parts.

  How are the products described and marketed

How are the products described and marketed? What kinds of applications and users do they support? In what kinds of situations would an organization choose to implement an end-user database over an enterprise database?

  Display the sorted sequence

Write a program name sorting.java that will use an array to store 10,000 randomly generated numbers (ranging from 1 to 10,000 no repeat number)

  Explain why this is an undirected graph

What is the definition of the indegree of a vertex and what is its meaning in this graph?What does it mean if this graph has a cycle?

  Method to obtain approximate values of the solution

Use Euler's Method to obtain approximate values of the solution at x = 0.5, 1, 1.5, and 2 and compare your numerical solutions with the exact solution found.

  Define future global cyber security technology

Discuss the social and cultural issues associated with Future Global Cyber Security technology

  Write a boolean method that users recursion

Write a boolean method that users recursion to determine where a String argument is a palindrome.

  Identify the manufacturer of your computer

Identify the manufacturer of your computer. Identify the file system of two different types of removable media (such as a CD, DVD, USB, or flash memory card).

  Write code that will delete the node after the node pointed

Write code that will delete the node after the node pointed to by p2. After this code is executed, the linked list should be the same.

  What error will takes place when executing the following

what error will occur when executing the following code? explain fully how you get to your answer. what changes should

  Assess the impact of the internet on newspaper and book

q1. evaluate the impact of the internet on newspaper and book publishers using the value chain and competitive forces

  Transmitting message and tentative checkpoint

Is node P allowed to transmit the messages related to application (as opposed to message which is part of checkpoint algorithm itself) immediately after having taken a tentative checkpoint?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd