Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions