+ 1
28th Aug 2019, 6:43 PM
Aastha🇮🇳
Aastha🇮🇳 - avatar
8 Réponses
+ 2
The code is fine
28th Aug 2019, 7:07 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
please put a link in here. you can use the plus button to the left of the reply field. dont forget to select my codes in the top right corner
28th Aug 2019, 6:44 PM
Brave Tea
Brave Tea - avatar
+ 1
Except u need to do proper comments at the top of the code. For user to understand in what series the inputs are to be made.. The inputs are to be in this order Name Branch Roll no And then six sub marks.. And make sure every inputs are passed at once in separate line. So example input: Sami Ece 6532574354 54 65 76 43 87 63 And make sure the roll no length to be equal to 10
28th Aug 2019, 7:12 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
28th Aug 2019, 7:40 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
Still it is not converting branch name to upper case .n i gess fail condition is also not working
28th Aug 2019, 7:41 PM
Aastha🇮🇳
Aastha🇮🇳 - avatar
+ 1
First thing at Line 81 u r converting the branch input to uppercase and then it test the switch case.. But to display the branch in uppercase u need to add uppercase () method on line 108 as System.out.println("Branch:"+ stuBr.toUpperCase() ); And fail condition is wrong at Line 101 it should be (sub>=0 && sub<=34)
28th Aug 2019, 7:50 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
But it's not showing output
28th Aug 2019, 7:08 PM
Aastha🇮🇳
Aastha🇮🇳 - avatar
0
Okay
28th Aug 2019, 7:15 PM
Aastha🇮🇳
Aastha🇮🇳 - avatar