GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Source-Code-from-Tutorials/C/06_cProgramming.c at master · SaifDeveloper/Source-Code-from-Tutorials Expand file tree/ Copy path06_cProgramming.cMore file actions 22 lines (15 loc) · 476 Bytes / Copy path06_cProgramming.cFile metadata and controls22 lines (15 loc) · 476 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include <stdio.h> #include <stdlib.h> int main() { //will replace %s with bucky printf("%s is best person ever \n", "Bucky"); //will replace %d with 9 printf("I ate %d corndogs last night \n", 9); //will replace %f with 3.14159 printf("Value of pi is %f \n", 3.14159); //will replace %f with 3.14 (2 decimal) printf("Value of pi is %.2f \n", 3.14159); //will replace %f with 3.14159 (3 decimal printf("Value of pi is %.3f \n", 3.14159); return 0; } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |