Star Patterns
C Program to calculate multiplication of two numbers
C Program to calculate multiplication of two numbers
#include <stdio.h> int main() { int x,y,z; printf("Enter x value:"); scanf("%d",&x); printf("Enter y value:"); scanf("%d",&y); z=x*y; printf("\n Multiplication of two numbers: %d",z); return 0; }
Output:
Enter x value:10 Enter y value:20 Multiplication of two numbers: 200