Write a menu driven program to print the following series
i)1, 4, 9, 16, 25,.......... up to 100
ii)1, 12, 123,........ n terms
iii)s = x/2! + x/3! + x/4! +....... x/n!
iv) s = 2-4+6-8+......-20
Answers
Answered by
0
Answer:
Test Data :
Input upto the table number starting from 1 : 8
Expected Output :
Multiplication table from 1 to 8
1x1 = 1, 2x1 = 2, 3x1 = 3, 4x1 = 4, 5x1 = 5, 6x1 = 6, 7x1 = 7, 8x1 = 8
...
1x10 = 10, 2x10 = 20, 3x10 = 30, 4x10 = 40, 5x10 = 50, 6x10 = 60, 7x10 = 70, 8x10 = 80
Similar questions
Social Sciences,
3 months ago
Math,
3 months ago
Economy,
7 months ago
Chemistry,
7 months ago
Math,
11 months ago