aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart
blob: 77a9b5aa114be52ac7a5577fb74562164d6c21df (plain) (blame)
1
2
3
4
5
6
7
8
9
Enter temperature in Fahrenheit: 212
212 degrees F = 100 degrees C

1. fahrenheit = 0;
2. celcius = 0;
3. print "Enter temperature in Fahrenheit:";
4. input fahrenheit;
5. celsius = 5.0F / 9.0F * (fahrenheit - 32);
6. print fahrenheit + " degrees F = " + celcius + " degrees C" \endline;