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 a perl program

Write perl program which will run on my system and will start another perl program on another linux system. The main program should wait for linux perl program to complete its work and send the result to my main perl program.

  Program to evaluate postfix expressions using a stack

Program to evaluate postfix expressions containing complex numbers using a stack. This program should contain two classes. T

  Design program to list total points scored for classroom

Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

  Pseudocode for linear search by using clrs3e style

Write pseudocode for linear search by using CLRS3e style used in, which scans through the sequence, looking for v.

  Explain the functions which are useful

Explain some of the functions which you have found useful, where you found them, and how you use them. Describe good programming practices.

  Historical principle for loss to the company is minimal

A colleague of yours frequently takes small amounts of office supplies, noting that the loss to the company is minimal. Your rationale expresses which historical principle?

  Program to print chains of numbers within a range

Write a program to print the chains for the numbers within a range that the user specifies.

  Advantages of turning the atm switches into lsr

Under these conditions, what are the advantages, if any, of turning the ATMswitches into LSRs, as opposed to using an overlay network?

  Write script in fedora to automate complex system task

Write a script in fedora 10 that will automate a complex system task. The task I have chose is one that will determine the processes that are consuming system resources.

  Questions on programing problem with the process of analysis

Questions on Programing Problem with the process of analysis and reflection that went on as you developed the project.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Create a model using the entities movie

Create a model to represent this report using the entities MOVIE, THEATER, and SHOW_TIME. Assume that theaters may show multiple movies.

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