Explain:
Multiplication of two numbers in C. same as Addition of two numbers in c and Subtraction of two numbers in C. Just changes a operator . This is an example of multiplication of two numbers
//www.programizbasic.blogspot.com
#include <stdio.h>
int main()
{
int a,b,c;
a = 20;
b = 10;
c = a * b;
printf("\n"); //use for line break
printf("Multiplication of two numbers : %d",c);
printf("\n"); //use for line break
return 0;
}
OUTPUT:
No comments:
Post a Comment