This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: float average; /* declares average as a double variable */ save1 = 5; save2 = 2; total = save1 + save2; average = total/2.0; printf ("The average of 2 and 5 is %f\n", average ); return (0); }...
View Full Document
- Spring '08