Write program asks user to enter temperature

Assignment Help Programming Languages
Reference no: EM1361589

Given the following file called "input.txt" which contains the freezing and boiling points of several substances.
Note the subtitle "Substance Freezing Point (Celcius) Boiling Point (Celcius)" is not part of the input.

Substance Freezing Point (Celsius) Boiling Point (Celsius)
Ethyl -114 78
Mercury -38 358
Oxygen -219 -188
Water 0 100

Write a program that asks the user to enter a temperature, and then shows all the substances that will freeze at that temperature and all the substances that will boil at that temperature.

For example, if the user enters -30 the program should report that water will freeze and oxygen will boil at that temperature.

 

Reference no: EM1361589

Questions Cloud

Metebolic syndrome and role of diabetes : What is the metebolic syndrome and the role diabetes plays in that syndrome?
Illustrate what effect would suggestions have on production : Given economic conditions today, do you suggest expansionary fiscal policy or contractionary fiscal policy. Illustrate what effect would your suggestions have on production and employment.
Capm and valuation : Suppose you are a consultant to a company evaluating an expansion business. The cash-flow forecasts in millions of dollars for the project are:
Management and structural design : Do you think technology will eventually enable top managers to do their job with little face-to-face communication? Discuss.
Write program asks user to enter temperature : Write a program that asks the user to enter a temperature, and then shows all the substances that will freeze at that temperature and all the substances that will boil at that temperature.
Explain and identify the major forces that affected : Explain and Identify the major forces that affected the Japanese yen prior to the global financial crisis in the fourth quarter of 2008?
How many kilocalories should she be consuming : A piston, A, as shown below, has a diameter of 0.54cm. A second piston, B has a diameter of 3.7 cm. find the force, F, necessary to support the 500N weight in the absence of friction.
Diagnostic test regarding the disease : What information is obtained from the diagnostic test regarding the disease?
Find shortest processing time : SPT is generally viewed as operationally focused rather than customer focused. However, are there cases when it could be as customer responsive as EDD or FCFS? Illustrate an example of this.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to ask user for low and high integer

Write a program that asks the user for the low and high integer in a range of integers. The program then asks the user for integers to be added up.

  Compute and display total number of votes received

Display the table with appropriate labels for the rows and columns. Compute and display the total number of votes received by each candidate and the percentage of the total votes cast.

  Computing first seven values of fibonacci number sequence

Write a program that uses a loop to compute the first seven values of the Fibonacci number sequence.

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Software system to manage records of patients

A software system is to be developed to manage the records of patients who enter a clinic for treatment. The records include records of the all regular patient monitoring.

  Program for class quiz to implement measurable interface

State a class Quiz to implement Measurable interface. A quiz has a score and a letter grade (such as B+).

  Write a program to calculate diameter in centimeters

Write a program to compute the diameter in centimeters of steel rod, aluminum rod, adn copper rod, which can withstand a particular compression load.

  Matrix multiplication code with mpi

Matrix multiplication code with MPI. At the beginning of each of the programs, write names of group members in the comment line.

  Program to display words in a list box sorted by number

Write a program to display the words in a list box sorted by the number of different vowels(a,e,i,o,u) in the word.

  Program-inputting data from files-writing-calling functions

This program will give you practice inputting data from files, writing and calling functions, using linked lists and outputting data to a file. You should only use one linked list of structs.

  Basic user interface-accept multi-level menu driven modules

Use any programming language or package to design basic User Interface which will be able to accept multi-level menu driven modules. Password should not be displayed.

  Write statement essential to call compute interest method

Write statement essential to call the calculate interest method with an account balance of $2300.00 and an interest rate of 5%. What rule must be adhered to when calling a method with multiple parameters?

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