Calculate the arithmetic operations of given two numbers using Scanf function..



main()
{
    int a,b,add,sub,multi,div;
    clrscr();

    printf("Enter The Valu Of A :");
    scanf("%d",&a);

    printf("\n Enter The Valu Of B :");
    scanf("%d",&b);

    add=a+b;
    sub=a-b;
    multi=a*b;
    div=a/b;

    printf("\n Addition %d",add);
    printf("\n Substraction %d",sub);
    printf("\n Multiplication %d",multi);
    printf("\n Division %d",div);
    
getch();
}
           

Output: