40 likes | 268 Views
Algorithmus. 6/18/2012. Prof. Zavodnik / C Vorlesung / Kapitel II. 2. Lower ? -40Upper ? 160Step ? 20solange Celsius ? UpperBegin Fahrenheit = 9/5 Celsius 32 Celsius = Celsius StepEnd. Programm. . 6/18/2012. Prof. Zavodnik / C Vorlesung / Kapitel II. 3.
E N D
1. Beispiel: Umwandlung Celsius ? Fahrenheit Formel: F = 9/5C + 32
Eingabe: Variable Celsius
Ausgabe: Variable Fahrenheit
Ergebnis: Tabelle der Werte in C. und F. von C = -40 bis C = 160 in Inkremente von 20
6/19/2012 Prof. Zavodnik / C Vorlesung / Kapitel II 1
2. Algorithmus 6/19/2012 Prof. Zavodnik / C Vorlesung / Kapitel II 2