Object-Oriented Programming with Java, part II – Exercise 1

Write a program that reads strings from the user until the user inputs the string “end”. As long as the input is not “end” the program should handle the input as an integer and print the cube of the integer (meaning number * number * number). My Code Main Model Code Main Comments I kind …

Read moreObject-Oriented Programming with Java, part II – Exercise 1

Object-Oriented Programming with Java, part I – Exercise 104

This exercise creates a sorting program that returns the value, swaps values and also returns the index of the smallest value. My Code Main Model Code Comments At first I thought it was a lot worse than it was. The model codes variables are better, the code cleaner but in most cases i go about …

Read moreObject-Oriented Programming with Java, part I – Exercise 104