Java coding exercises for beginners - Arrays

preview_player
Показать описание
In this video, I will be solving 2 beginner exercises in Java. I would highly suggest you try to solve these exercises yourself as well!

Exercises:
A - Largest in array
Create a program that finds the largest number in an array and writes the index of this number to the console.

B - Area of a circle
Create a program that calculates the area of a circle (pi * r^2) for three different circles with the radius: 1, 3 and 5.

I have some videos about arrays and loops if you need some help understanding the principles behind my solutions:
Рекомендации по теме