match the 1. Match the Column A to Column B
column A column B
(a) Logical boolean operator 1. Loop within another loop
(b) EXIT 2. Similar to DO... Loop
(c) WHILE... WEND 3. Come out of loop
(d) Nested loop 4. Looping
(e) Repetition of statements 5. AND operator
2. Tick() the correct option:
(a) Which of the following is used to take decision in the program ?
(1) END IF
() IF-THEN-ELSE
(iv) NOT operator
(W) CLS
(b) Which of the following is used to transfer the control of the program to specific label
or line number?
(1) TO
O GOTO
(iv) TRANSFER
(iii) SEND
3. Write a program to display a table of 5 less than 11 using DO-WHILE loop.
(don't spam )
Answers
Answered by
12
Answer:
Explanation:
1.
(a) -> 5
(b) -> 3
(c) -> 2
(d) -> 1
(e) -> 4
2.
(a) -> (ii)
(b) -> (ii)
3.
#include <iostream>
int main () {
int a = 5;
do {
cout <<"Table of "<<a<< endl;
int x=1;
do{
cout<<a<<" * "<<x<<" = "<<a*x<<endl;
x++;
}while(x<=10)
a++;
} while( a < 11 );
return 0;
}
Similar questions