C PROGRAM TO PRINT MULTIPLICATION TABLE - Anna University Multiple Choice Questions

C PROGRAM TO PRINT MULTIPLICATION TABLE

Aim:
To write a C program to print the multiplication table.

Algorithm:
Start thr Program
Initialize b=1,c=0.
Read the table number from the user.
Calculate c=a*b,and increment b=b+1.
Display c value in a table form.
Stop the program

Program:

Output:
Enter a Number: 13
13 * 1 = 13
13 * 2 = 26
13 * 3 = 39
13 * 4 = 52
13 * 5 = 65
13 * 6 = 78
13 * 7 = 91
13 * 8 = 104
13 * 9 = 117
13 * 10 = 130

Result:
Thus the program is written and executed to display the multiplication table.

1 comment:

  1. This is very informative and fascinating for those who are fascinated by running a blog field. Really very pleased to say, your submission is very fascinating to read. Are you like to play the game? if sure then refer to the auto clicker for Roblox free download blog and enjoy the game.

    ReplyDelete