Learn Java for Beginners - 15 - Methods Exercise

preview_player
Показать описание
Java methods exercise

================================

The programming language Java is great to learn if you're a beginner.

Test your knowledge on Java methods in this coding exercise. View the solution in the next video!

Рекомендации по теме
Комментарии
Автор

Here it is sir! Please, make more Challenges/Exercises. They help a lot. By the way, I didn't say before.. Your classes are really really good!!.

public class Exercise {
public static void main(String [] args) {
float result;
result = numberValues (3);
System.out.println(result);
}

private static float numberValues (float num) {
float exerciseDevelopment = (num + 1)/3;
return exerciseDevelopment;
}
}

GabrielMLinassi
Автор

I like the video-series for the most part, but try to stay professional please

macstievie
welcome to shbcf.ru