- 1

Write a program that will ask the user a question with four possible answers. The question should be asked 10 times and after al

what is solution.

12th Nov 2016, 7:25 AM
Rana Ahmad
Rana Ahmad - avatar
3 Respuestas
0
Using for loop write a JAVA program with the helping messages that accepts 10 integer values ​​from the user and do the following tasks I. Extract and print the maximum odd number. 2. Extract and print the minimum even number. 3. Calculate and print the Average of the entered numbers.
13th Jul 2017, 4:46 AM
Khadija Ahmed
Khadija Ahmed - avatar
0
Complete program
3rd Dec 2023, 6:33 AM
Husnain G
Husnain G - avatar
- 1
for(i=0; i<10; ++i) { cout <<"question\nAnswer1\nAnswer2......."; cin >>a; if (a=='C') //for example C is te correct answer cout << "correct"; else cout << "wrong answer"; }
12th Nov 2016, 11:13 PM
Marcell Juhasz