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 application to input numbers in one dimensional array

Use a one dimensional array to solve the following problem: Write an application that inputs five numbers, each between 10 and 100, inclusive.

  Write statement to assign new value to element of array

Write a single statement that assigns a new value to element of the array indexed by j . This new value should be equal to twice the value stored in the next element of the array.

  Method takes string and integer as parameters

Write a method called multiConcat which takes a String and an integer as parameters. Return String made up of the string parameter concatenated with itself count times.

  Write program to prompt user to enter string of caharacter

Write a program that prompts the user to enter a string of 87 characters the program should display the middle character in the string if there is an odd number characters in the string.

  Create e-r diagram for sell and buy of antiques

Create E-R diagram for following situation (state any assumptions you believe you have to make to develop diagram): XYZ Antiques buys and sells one-of-a kind antiques of all kinds

  Write program to use text file to create relative file

Write a program that uses the text file to create a corresponding relative file. Translate the stock code to an appropriate relative record address.

  Write gui program as subclass of jframe

Write a GUI program as subclass of JFrame. It should contain the following: Labels At the top (column headings): Meal, Quantity, Cost, At the left: label for each mea.

  What is the throughput of the system

what is the throughput of the system

  Write a program to enter series of numbers

Write a program that ask the user to enter a series of numbers ending with -1. After the -1 is input, program should print how many numbers are even and how many numbers are odd.

  Create program to produce a summary of amounts due

Create a program that will produce a summary of the amounts due for Pat's Auto Repair Shop. Display a splash screen first, then display the Job Information Form.

  Write program for real estate agent

Write a program for a real estate agent. The program should perform the following tasks: ask users for the average house price for the each of past 5 years for a single family residence of 1500 square feet.

  Write program which translate letter grade into number grade

Write program which translates a letter grade into number grade. Letter grades are A, B, C, D, F, possibly followed by + or -.

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