Unit Test 1 - double of the constant pi is %f., THREE*PI,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Unit Test 1 1. #include <stdio.h> int main(void) { printf("This is my first program for the Unit 01 Readiness Test."); return (0); } 2. /* This is the second question */ #include <stdio.h> #define PI 3.1415926 #define THREE 3.0 #define TWO 2.0 int main(void) { printf(“The triple of the constant pi is %f and the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: double of the constant pi is %f., THREE*PI, TWO*PI); return (0); } 3. #include <stdio.h> #define PI 3.1415926 int main(void) { printf(Approximate value of PI = %f \n,PI); return (0); } 4. %9.5f...
View Full Document

This test prep was uploaded on 03/19/2008 for the course ME 205 taught by Professor Koen during the Spring '07 term at University of Texas at Austin.

Ask a homework question - tutors are online