s Sintaks

#include<stdio.h>
#include<stdlib.h>

int main()
{
    int a, b, c, d, e;

    printf("Welcome to the calculator!\n");

    printf("print the value of a here:-  ");
    scanf("%d", &a);
    printf("\nprint the value of b here:-  ");
    scanf("%d", &b);
    printf("\nprint the value of c here:-  ");
    scanf("%d", &c);

    d = a*b*c;
    e = a+b+c;

    printf("a*b*c = %d\n", d);
    printf("a+b+c = %d", e);

    return 0;
}
PamPam