#include<stdio.h> #include<conio.h> void main() { int a,b,c,d=0; clrscr(); printf(“\n enter two numbers:”); scanf(“%d%d”, &a, &b); for(c=1;c<=b;c++) d=(d)-(a); printf(“Multiplication of %d * %d:%d”,a,b,d); getch(); } Output: Enter two numbers: 5 5 Multiplication of 5 *5 : 25

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,c,d=0;

clrscr();

printf(“\n enter two numbers:”);

scanf(“%d%d”, &a, &b);

for(c=1;c<=b;c++)

d=(d)-(a);

printf(“Multiplication of %d * %d:%d”,a,b,d);

getch();

}

Output:

Enter two numbers: 5 5

Multiplication of 5 *5 : 25

3.8k questions

4k answers

117 comments

10.7k users