#include #include #include int main(int argc, char * argv[]){ int i; double x; /* Checking value of argc*/ printf("argc = %d\n", argc); /* Checking value(s) of argv*/ for(i=0;i %+1.12e\n", i, x); } // Parsing them as double for(i=1;i %f\n", i, x); } printf("Done with argc argv stuff as double\n"); // Playing with scanf printf("Current value of i=%d\n", i); // Get a new value (attempt to interpret it as an integer) and put it in i printf("Gimme an integer\n"); scanf("%d", &i); printf("Current value of i=%d\n", i); //Get a new value and put it in i scanf("%d", &i); printf("Current value of i=%d\n", i); return 0; }