How would I convert these into flow charts?
Temperature Conversion: "Allow the user to enter a series of temperatures in degrees Celsius (C) terminated by the input of -999. For each one, find the corresponding temperature in degrees Fahrenheit (F). The conversion formula is: F = 9 * C/5 + 32 ".
Factorial: "Find the factorial of a number entered by user."
A factorial of any positive number "n" is the product of all integer values less than or equal to n. for example: 5! = 5 x 4 x 3 x 2 x 1 = 120.
The first step is to do a little brainstorming. Try to understand the problem statement, identify input and output parameters, and then visualize the process steps as:
i. Breakdown the problem
a. Enter temperature in Celsius
b. Stop when user enters -999
This solution shows how to create flow charts by following simple steps: 1. Brainstorming, 2. Pseudo-code, 3. Algorithms, 4. Flow Charts
Temperature conversion and Factorial as case study.