C program to multiply using addition

OUTPUT: