Write a menu driven program to solve the following equations :
i) S = 24 + 35 + 48 + 63 + ……. + 399
ii) S = 12 + 20 + 30 + 42 + 56 + 72 + ……. + 240
(in java.........)
Answers
Answered by
0
8 + 7 = 15
15 + 9 = 24
24 + 11 = 35
35 + 13 = 48
48 + 15 = 63
63 + 17 = 80
80 + 19 = 99
99 + 21 = 120
So series
8,15,24,35,48,63,80,99,120,…
Similar questions