User Tools

Site Tools


user:adahmane:portfolio:unix5
I actually made four programs with this code by making a small change with each. I now have a separate program for addition, subtraction, multiplication, and division!
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
 
int main (int argc, char **argv)
{
        int i,j;
        scanf("%d%", &j);
        i=atoi(*(argv+1));
        printf("%d\n", (j^i));
        return(0);
}
user/adahmane/portfolio/unix5.txt · Last modified: 2013/12/14 11:38 by adahmane