• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 1

why i m not getting the average

https://code.sololearn.com/cZ31OSIOqxac/?ref=app

javaloopsreturnmethodaverage
13th Apr 2017, 3:00 PM
shobhit
shobhit - avatar
2 Respostas
+ 14
The average of 15.0 and 17.0 is 16.0. If you add an output for the value that is returned from your average method, it is 16.0.
13th Apr 2017, 3:06 PM
Tashi N
Tashi N - avatar
+ 2
thnx tashi.
13th Apr 2017, 3:06 PM
shobhit
shobhit - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Bro can you fix yt error?
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Need suggestions to learn AI and ML
1 Votes
Bug in Completing AI Practice
0 Votes
Duration of heart refilling
0 Votes