0
Write a java program
Write a java program that keeps asking the user to enter a correct value for student mark (must be between 0 and 100 inclusive) repeatedly. The program stops when the user enters an incorrect value and prints the percentage of passed (mark greater than or equal 60) and failed students. 1*Consider the case when the user enters no correct value. 2*Hint: Use counters to compute the percentages.
6 odpowiedzi
+ 10
Please show us your attempt(s) first.
+ 1
Salwa What Stellar Fox rightly asked you is not the output of your program but the code of your program... Futhermore is not clear if your is an assignement for the community or an your assignement
0
This is the outbut:
$ java StudentResult
Student 1 mark: -1
No mark was entered
-----------------------------------
-----------------------------------
$ java StudentResult
Student 1 mark: 88
Student 2 mark: 75
Student 3 mark: 45
Student 4 mark: 52
Student 5 mark: 91
Student 6 mark: 200
60.00% students passed
40.00% students failed
0
I asked the question here because I don't know the answer or the code
and this is the example of output not the output of my code
please focus...
0
Like Stellar Fox said you, post you attempt
0
Please write a program to input name, I'd number and section, address and age.
Sample output: Cristine Mae Eustaquio
1802267Charity
San Tuao Cagayan
14