Multiplication of two numbers

Program:

#include<stdio.h>
int main()
{
int num1,num2,num3;
printf("Enter First Number: ");
scanf("%d",&num1);
printf("Enter Second Number: ");
scanf("%d",&num2);
num3=num1*num2;
printf("Multiplication Of Two Number: %d\n",num3);
return 0;
}

Output:


No comments:

Post a Comment

x^y using recursion

Program: #include<stdio.h> int power(int a,int b); int main() { int x,y,ans; printf("Enter x and y:\n "); scanf(...