{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

unit 01 version C pah9ie

unit 01 version C pah9ie - THREE is =.1f\n",Six*Three...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Unit 01 Readiness Test Version C 1) Stand Alone Program #include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { printf("ME 205 follows the Personalized System of Instruction\n\n") return (0) } 2) Function #include <stdio.h> #define Six 6.0 #define Three 3.0 int main(void) { printf("SIX TIMES
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: THREE is = %.1f \n",Six*Three) getchar() return (0) } 3)Errors #include <stdio.h> #define PI 3.1415926 int main(void) { printf("Approximate value of PI=%f \n",PI) return (0) } 4) format specification printf("PI = %8.4f\n", PI) Page 1...
View Full Document

{[ snackBarMessage ]}