Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Use Visio or Word to draw the flowcharts. No handwriting on the flowcharts. 1. Draw a complete and neat flowchart that converts the temperature

Note: Use Visio or Word to draw the flowcharts. No handwriting on the flowcharts.

1. Draw a complete and neat flowchart that converts the temperature in C to F or temperature in F to C. The user is prompted to enter the choice of conversion (for example, enter 1 for Celcius; 2 for Farenheit) and prompted to enter the temperature value. Display the original temperature value and the converted temperature value. Note: Celcius = 5 * (F - 32 ) / 9.

Translate the flowchart to a pseudocode.

2. Draw a complete and neat flowchart to display the message Bring an umbrella if it is a raining day. If it is not raining and the temperature is at least 65 F, display Go to Picnic. If it is not raining and the temperature is less than 65 F, display Stay home. Prompt the user to enter a y or Y for a raining day and to enter an integer for the temperature.

Translate the flowchart to a pseudocode.

3. From Wikipedia: In mathematics, a multiple of an integer is the product of that integer with another integer. In other words, for integer , is a multiple of if = for some integer . If is not zero, this is equivalent to saying that / is an integer.

Draw a flowchart to prompt the user to enter two nonnegative integers X and Y and to determine if X is a multiple of Y. Display a message to inform the user whether X is a multiple of Y. Note: Use only basic operators +, -, *, and /.

For example:

X = 24 and Y = 3, displayed message: X is a multiple of Y.

X = 3 and Y = 24, displayed message: X is not a multiple of Y.

X = 24 and Y = 5, displayed message: X is not a multiple of Y.

X = 0 and Y = 3, displayed message: X is a multiple of Y.

X = 5 and Y = 0, displayed message: X is not a multiple of Y.

Translate the flowchart to a pseudocode.

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

Step: 3

blur-text-image

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

=+1. What is discipline?

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago