- Write A C Program That Will Display Either A Multiplication Table Or An Addition Table Examples Of The Program Outputs 1 (144.12 KiB) Viewed 39 times
Write a C program that will display either a multiplication table or an addition table. Examples of the program outputs
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a C program that will display either a multiplication table or an addition table. Examples of the program outputs
Write a C program that will display either a multiplication table or an addition table. Examples of the program outputs are shown below: Enter an integer between 1 to 12 Enter an integer between 1 to 12 6 Enter * for Multiplication table or + for Addition table. Enter - for Multiplication table or + for Addition table. * + The Multiplication table is: The Addition table is: 1 *2=2 2*2 = 4 3* 2 = 6 4*28 1 +6= 7 2 + 6 = 8 3 + 6 = 9 4 + 6 = 10 2 5* 2 = 10 5 + 6 = 11 6*2 = 12 6 + 6 = 12 7*2 = 14 7 +6 = 13 8 *2= 16 8 + 6 = 14 9*2 = 18 10 * 2 = 20 11 * 2 = 22 12 * 2 = 24 9 + 6 = 15 10+ 6 = 16 11 + 6 = 17 12 #6 = 18