Posts

Assignment on operators and expressions: Solved

Operators and Expressions Solved

Assignment on operators and expressions

Operators and Expressions

Assignment on functions

Assignment on functions

Assignment on arrays : Arrays and Strings

Assignment on arrays: Arrays and Strings  

Assignment on Arrays : Conceptual Questions

Assignment on Arrays : Conceptual Questions

Assignment on Arrays : 1 Dimensional arrays

Assignment on Arrays : I Dimensional

Assignment on Looping Constructs

Assignment on control structures Q. 1 Identify the following in the loops:          I.                           Loop control variable        II.                        Initialization expression      III.                      Update expression      IV.                        Test expression a.              a.    for (int p=4; p<9; p++)          cout<<p; b.        b .    int  x=9; do {  cout<<x++; }while(x<15); c.         C.      int m=6; while(m<15) { cout<< m; m++; } d.                      d. char ch=’a’;        while(ch<’g’)       { cout<<ch;          ch++;         }   Q.2.  Fill up the blanks for the following loops: a. A loop to find and display the sum of numbers between 4 and 40.              int sum=________; for(_________;________;___________)                    sum___________;                 __________________ b.  A loop to find and display the sum of multiples of 3 bet