InterviewSolution
Saved Bookmarks
| 1. |
Write a menu driven programs to generate the following series Display an appropriate message for an incorrect option1) 07.26..........n2) 0.1.1.2.3.......n |
|
Answer» the QUESTION is not understandable of the SERIES no. 1 pls write a few more nos.by the way ur and should be void main (int a,int N) // a for choice, and n for limit{ switch(a) { case 1: break; case 2 : int X =0,z=1; for(i = 0; i<=n;i++) { y = x+z; x=z; z=y; Sopln(y+","); } break; default:Sopln("invalind input"); break; }} |
|