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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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