background img

The New Stuff

Write a program to Multiply two numbers.


#include<stdio.h>
#include<conio.h>

void main()
int a,b,c;
 printf(“Enter the value of a:-\n”);
 scanf(“%d”,&a);
 printf(“Enter the value of b:-\n”);
 scanf(“%d”,&b); 
c=a*b; 
printf(“ Multiplication is :-%d”,c);
 getch(); 
}

0 comments:

Post a Comment

Popular Posts