adding degree symbol and measurement symbol to temps in table
This commit is contained in:
parent
40f999d693
commit
3dac05767b
@ -12,7 +12,7 @@ int main()
|
||||
tModifier = (5.0/9.0);
|
||||
while (fahr <= UPPER) {
|
||||
celsius = tModifier * (fahr - 32.0);
|
||||
printf("%3.0f\t%5.1f\n", fahr, celsius);
|
||||
printf("%3.0f°F\t%5.1f°C\n", fahr, celsius);
|
||||
fahr = fahr + STEP;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user