aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
blob: 4fc495475ead9640a117385a4c6ef500f2e6535d (plain) (blame)
1
2
3
4
5
6
7
8
9
define fahrenheit and set it to 0 as a float
define celsius and set it to 0 as a float

display "Enter a temperature in Fahrenheit: "
input value for fahrenheit

celsius = (float) 5 / 9 * (fahrenheit - 32)

display fahrenheit + " degrees F = " + celsius + " degrees C"