1. How to multiply two numbers in C
#include<stdio.h>
void main()
{
int a,b,c;
a=5;
b=6;
c=a*b;
printf("Sum of two numbers :%d",c);
}
Output :
30
#include<stdio.h>
void main()
{
int a,b,c;
a=5;
b=6;
c=a*b;
printf("Sum of two numbers :%d",c);
}
Output :
30
No comments:
Post a Comment