Module main() // Local variables Declare Real centigrade, fahrenheit // Set centigrade For centigrade = 0 to 20 Call setFahrenheit(centigrade, fahrenheit) // display values Call showTemperatures(centigrade, fahrenheit) End For End Module // The setFahrenheit module calculates degrees fahrenheit // equivalent to centigrade. Module setFahrenheit(Real centigrade, Ref fahrenheit) Set fahrenheit = ((9 * centigrade) / 5) + 32 End Module // The showTemperatures module shows centigrade degrees // and shows corresponding Fahrenheit degrees Module showTemperatures(Real centigrade, fahrenheit) Display centigrade, " degrees centigrade = ", fahrenheit, “ degrees fahrenheit” End Module pseudocode, program analysis and flowchart please.
Module main()
// Local variables
Declare Real centigrade, fahrenheit
// Set centigrade
For centigrade = 0 to 20
Call setFahrenheit(centigrade, fahrenheit)
// display values
Call showTemperatures(centigrade, fahrenheit)
End For
End Module
// The setFahrenheit module calculates degrees fahrenheit
// equivalent to centigrade.
Module setFahrenheit(Real centigrade, Ref fahrenheit)
Set fahrenheit = ((9 * centigrade) / 5) + 32
End Module
// The showTemperatures module shows centigrade degrees
// and shows corresponding Fahrenheit degrees
Module showTemperatures(Real centigrade, fahrenheit)
Display centigrade, " degrees centigrade = ", fahrenheit, “ degrees fahrenheit”
End Module
pseudocode, program analysis and flowchart please.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images