C Program that finds the multiplication of two numbers without using multiplication

C-Programming-Language

Today, the c program that finds the multiplication of two numbers without using the multiplication process. I will continue to share this kind of common C programming language among programming languages. I’d appreciate it if you’d let me know your comments after you use them.

C Programming Codes;

//C Program that finds the multiplication of two numbers without using multiplication

#include
#include

int main()
{
// while(1) // sonsuz döngü
// %g virgülden sonraki sıfırları göstermiyor
int a,b,s,i;

printf(“Lütfen 1.sayıyı giriniz : n”);
scanf(“%d”,&a);

printf(“Lütfen 2.sayıyı giriniz : n”);
scanf(“%d”,&b);

s= 0;

for (i=1; i<=a; i++ );

s= s+b;

printf(“%d * %d = %d”, a,b,s);

getch();
// cant close the window

}