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

  Prove the seventh design criterion for p-boxes by checking

Prove the seventh design criterion for P-boxes by checking the relationship between S-box 5 in round 4 and S-box 7 in round 5.

  Data representation and logic

Representing Text and Numbers, Binary Arithmetic, Interpreting Logical Statements, Logic Puzzle, Binary and Algorithms.

  Which products must be restocked

The database includes fields for record number, store identification number, sales region, item number, item description, unit price, units sold, and weekly sales period when the sales were made.

  What are two advantage of encrypting data stored in database

What are two advantages of encrypting data stored in the database? Suggest a scheme for the secure storage of passwords.

  Perform the steps of abstraction and refinement on them

Bees shall spawn from the hive when the user interacts with the hive. Bees shall be able to move from the hive to a flower.

  Analyze the ongoing maintenance that will be required

Analyze the ongoing maintenance that will be required. Provide a workflow diagram in Visio or equivalent software to illustrate how the system will work.

  Analyze what you see in terms of technology and social class

Analyze what you see in terms of technology and social class. Once you complete your observation, post a 2- to 3-paragraph analysis of what you saw.

  Write an algorithm for shell sort and study its performance

Write an algorithm for Shell Sort, study its performance, and compare the result with the performance of Insertion Sort.

  What is the loaded characteristic impedance of the bus

A backplane stripline bus measures 15" from end to end. Six equally-spaced inputs circuits are wired to the bus, each of which has a loading capacitance.

  Research parallel computing and prepare an informal paper

Research parallel computing and prepare an informal paper 2 -3 pages in length, single spaced with a blank line beltween paragraphs.

  What is the worst mistake in the history of the human race

According to Diamond, what is the worst mistake in the history of the human race? What does this mistake have to do with technology and society?

  How many pins would this chip have

Consider a memory chip with 10 rows, 10 colums, and 8 banks and a 64-bit data bus.Express the capacity in bytes of this chip as a power of 2.

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