Try C

C code posted
created at 18 Dec 10:38, updated at 06 Jan 04:53

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

int main(char *argc, char *argv[])
{
uint8_t kk = 0;


    if(argc > 2)
    {
        int a=atoi(argv[1]);
        int b=atoi(argv[2]);
        long c=a*b;
        // afficher le résultat
        printf("%d x %d = %ld\n",a, b, c);
    }
    else
        printf("usage: %s a x b\n", argv[0]);
}
312 Bytes in 2 ms with coderay