using the switch statement write a menu driven program to generate the following series:1,2,4,7,11,16,22
Answers
Answered by
1
Answer:
Input : n = 4
Output :
1
3*2
4*5*6
10*9*8*7
Input : n = 5
Output :
1
3*2
4*5*6
10*9*8*7
11*12*13*14*15
hope it will help you
plz mark me as brainlist
Answered by
0
1+1=2,2+2=4,4+3=7,7+4=11,11+5=16,16+6=22 it's the answer
Similar questions