Post

Java Problems to Revisit

Exercise 3 — Average and Standard Deviation of N Numbers

This exercise involves reading a series of numbers from the user, calculating their average and standard deviation, and then displaying the results. It’s a good opportunity to practice using arrays, loops, and mathematical functions in Java.

Exercise 2 — Adding up Squares and Cubes

src/chapter04/conditionalsandloops/kjellexamples/AddingUpSquaresAndCubes.java

This exercise requires writing a program that calculates the sum of squares and cubes of a series of numbers. It helps reinforce concepts related to loops, conditionals, and arithmetic operations in Java.

This post is licensed under CC BY 4.0 by the author.