Write a program that prints messages for weather

Assignment Help Computer Engineering
Reference no: EM132210473

Write a program that prints messages for weather. The program will get Fahrenheit degree from user input and print out following messages on the screen:

If temperature in Fahrenheit is over 100, print out message "Give us Ice! we are almost dead!!".

If temperature in Fahrenheit is over 95, print out message "It's too hot!".

If temperature in Fahrenheit is over 86, print out message "It's still hot!".

If temperature in Fahrenheit is over 77, print out message "It's O.K...!".

If temperature in Fahrenheit is over 68, print out message "It's good to do exercise!".

If temperature in Fahrenheit is over 50, print out message " It'scool !".

If temperature in Fahrenheit is over 32, print out message "It's chilly!".

If temperature in Fahrenheit is less than 32, print out message "It's cold!".

use if... else if... else structure what we studied in the class.

Reference no: EM132210473

Questions Cloud

Write a program that prompts the user to enter the center : Write a program that prompts the user to enter the center of a rectangle, width, and heigth and displays the rectangle (using python)
Discuss the threat modeling of a mobile device : Write two pages about each of the following list (Open-source Risk Management tools). Open Source Requirements Management Tool.
Calculates and print the area of the rectangle : Write a Program called Rectangle which prompts for and reads two integer values that represent the sides of a rectangle.
Display the contents of the two dimensional array : Display the contents of the two dimensional (2D) array using nested for loops in the form of square matrix.
Write a program that prints messages for weather : Write a program that prints messages for weather. The program will get Fahrenheit degree from user input.
What are the components of cryptography : What are the components of cryptography? What are some of the documents or artifacts that are needed for ensuring that the implementation of cryptography.
Write a program to process string data : Write a program to process string data. The input is on one line in an input file, and has up to seven components with a colon (:) at the end of each component.
How does the art of asia reflect religious : How does the art of Asia reflect religious and philosophical beliefs? Select one work from China, one from Japan, and one from South or Southeast Asia.
How the experience personally affected you : How have you interacted with the arts in your life? Were you a participant, or were you a part of the audience? Describe how you have participated in the arts.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Program for calling the function

Suppose the availability of class named DataTransmitter which offers a static method, sendSignal which takes no arguments. Write down the code for calling this method.

  Computing the total tax

In following example, second line of the table signifies that tax due on a salary of $2,000.00 is $225.00 plus 16% of excess salary over $1,500.00 (that is, 16% of $500.00). Compute the total tax.

  Explaining the levels of physical security

No physical security is a 100% defeat-proof. For this assignment write 4-6 pages defining and explaining the levels of physical security.

  Write a program that implements a stack.

Write a program that implements a stack. Your program will ask users to input a word letter-by-letter and then displays the word backward.

  What roles are you considering in your career future

What roles are you considering in your career future? What skills do you need to complete these roles (refer to your skills audit completed in module 2)?

  Research the recording industry association of america

Research the Recording Industry Association of America (RIAA) and the Motion Picture Association of America (MPA).

  Under what conditions is the objective function more

under what circumstances is the objective function more important than the constraints in a linear programming model?

  Determining the asymptotic formula

Provide an asymptotic formula for each of the following recurrence equations, utilizing big “Θ” rather than just big “O” for better results whenever possible.

  The relationships between user forms and reports

the relationships between user forms and reports

  Explain the importance of having a test coupled

Many will argue that it is considered a good practice to acknowledge the limitation of your research/project. Could you defend this argument.

  Explain in your word the concept of parallelism transparency

Name two advantages of a microkernal over a monolithic kernel. Explain in your own words the concept of parallelism transparency.

  Explain how information systems can be used

Briefly describe the processes that are necessary for an organization to have a mass-customization capability. How does it relate to "micro marketing"? express the process known as General Electric Direct.

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