Addition of two numbers


Harsh2022/11/12 02:23
Follow

C and c++ programming next article on c++ program

#include<stdio.h> Void main () { int num1,num2,ans; printf("\n Enter the first number"); scanf("%d",&num1);

printf("\n Enter the second number");

scanf("%d",&num2);

ans=num1+num2;

printf("\n Addition of the two numbers is %d",ans);


}

Share - Addition of two numbers

Follow Harsh to stay updated on their latest posts!

Follow

1 comment