Write program which prompts for boiling point of substance

Assignment Help Programming Languages
Reference no: EM1368609

Write a program that prompts the user for the observed boiling point of a substance in Centigrade and identifies the substance if the observed boiling point is within 5% of the expected boiling point. If the data input is more than 5% higher or lower than any of the boiling points in the table, the program should output the message - SUBSTANCE UNKNOWN.

Substance Normal boiling point (degrees Centigrade)

Water 100

Mercury 357

Copper 1187

Silver 2193

Gold 2660

Reference no: EM1368609

Questions Cloud

Give algorithm-correctness proof-time complexity for tree : Determine the minimum number of nodes in tree to remove so that the tree is separated into subtrees of sizes at most k. Give the algorithm, the correctness proof and the time complexity.
Explain what is the total cost for using air carrier : Explain What is the total cost for using motor carrier transportation and What is the total cost for using air carrier transportation and Which alternative should GasBag use?
Calculating expected dividend payout ratio : Flavortech Corporation expects EBIT of $2,000,000 for the current year. The firm's capital structure consists of 40% debt and 60% equity, and its marginal tax rate is 40%.
Calculate the proportion to get a desired expected return : If the market has an expected return of 10 percent, a standard deviation of 20% and the risk-free rate is 4 percent, what proportion of your money should be invested in the market if you want an expected return of 16%?
Write program which prompts for boiling point of substance : Write program which prompts user for observed boiling point of substance in Centigrade and identifies substance if observed boiling point is within 5% of the expected boiling point.
Discuss two aspects of firms credit policy : Identify and discuss two aspects of firms' credit policy. Identify one difference in the credit policies of different company and describe why this  difference may be important to consumers.
Explain how to upgrade bus topology lan : You are asked to upgrade bus topology LAN at a friend's house to a star topology LAN. your friend wishes to connect three computers and printer and use Ethernet access method.
Explain soprano manufacturing acquired severel pieces : Explain Soprano manufacturing acquired severel pieces of expensive heavy machinery it intends to use in its operations
Write python program which imports three dictionaries : Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write statement that calls add to compute sum of sales

Add is a method that accepts two int arguments and returns their sum. Write a statement that calls add to compute the sum of euroSales and asiaSales and that stores this value in eurasiaSales .

  Design program to calculate amount of money spend

Design a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day.

  Program to use next character to create and return operator

Convert the string of digits into an integer. Otherwise, use the next character to create and return an operator.

  Write program to calculate how much person earns

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day.

  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?

  Design a flowchart displays item-s data

Design a flowchart or pseudocode for the following: displays the item's data only if it is a best-selling item. Best-selling items are those that sell more than 2000 pounds per month.

  Program using ten radio buttons to show five states

It is program using 10 Radio Buttons to show 5 States and 5 Capitals to user's interface. Also, there is text box to print "Correct" and "Incorrect" when Sate and the Capital is a correct match.

  Create default constructor which invokes superclass

Create a (default) constructor which invokes superclass constructor with value 3 (law school is typically a three year program).

  How recursion terminate in array

Continue in this fashion until entire array is read. Then recursively determine a candidate for B; this is  candidate for A (why?). How does the recursion terminate?

  Comparing running time of two algorithm

Which algorithm would you prefer on the basis of running time, suppose all other factors equal?

  Create project to compute checking account balance

Create a project to compute your checking account balance. Form: Include radio buttons to indicate the type of transaction: deposit, check, or service charge.

  Write pseudocode for determining grade of student

Write a pseudocode for determining the grade of a student given his/her total score. The program should display a grade of A if the score is above 85.

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