This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:adahmane:portfolio:unix5 [2013/12/14 16:38] – adahmane | user:adahmane:portfolio:unix5 [2013/12/14 16:38] (current) – adahmane | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
+ | == I actually made four programs with this code by making a small change with each. I now have a separate program for addition, subtraction, | ||
+ | |||
+ | |||
+ | <code c> | ||
+ | #include < | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | int main (int argc, char **argv) | ||
+ | { | ||
+ | int i,j; | ||
+ | scanf(" | ||
+ | i=atoi(*(argv+1)); | ||
+ | printf(" | ||
+ | return(0); | ||
+ | } | ||
+ | </ |