Question: Question-3 (2 points) The table below shows the normal boiling points of three metals in C. Draw a flowchart for a module named detectMetals that

 Question-3 (2 points) The table below shows the normal boiling points
of three metals in C. Draw a flowchart for a module named

Question-3 (2 points) The table below shows the normal boiling points of three metals in C. Draw a flowchart for a module named detectMetals that takes as an argument the observed boiling point of a metal in C and identifies the metal 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 module should output the message Substance unknown. Metals Copper Silver Gold Normal boiling point (C) 1187 2193 2660 Question-4 (2 points) Write a pseudo-code or C Code for the main module that declares 2 integers named first and second properly calls the getInput (defined in A above) to read 2 integers from the user and store them properly in the two variables declared in the previous step Output the phrase multiple if one of the two integers is a multiple of the other Start Set observed be the observed meting point is observed >1187-0.05'11871 Yes observed print metal is copper (1187-0051187) No Yes is observed >=2193-0.052193) 88 observed (2193-0.052193) print metal is silver No Yes is observed >2660-0-05-2650) 38 observed (2660-0052680 print metal is gold NO print substance un nown Stop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!