OK, since i am not getting the answer am looking for, i am showing you a small source code of my program, i really hope that u understand it & sorry fot the newbie codez.
[
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
int numa = atoi(argv[1]);
int numb = atoi(argv[3]);
int sym = atoi(argv[2]);
int sum;
if (sym == 1)
{
sum = numa + numb;
printf("\n%d Plus %d= %d", numa, numb, sum);
}
else
printf("Error");
return 0;
}
/* INPUT: 1 1 1
OUTPUT: 1 Plus 1= 2 = GOOD :)
BUT
INPUT: 1.1 1 1.1
OUTPUT: 1 Plus 1= 2 =??????? HELP ME */
]
[]