Assignment
Exercise#1:
Write a java class that asks the user to enter three numbers N1, N2, N3 , obtains the numbers, then calculates and displays the largest number Max followed by the text "is the largest" and the smallest number Min followed by the text "is the smallest".
Exercise#2:
Write a java class that reads an integer N, then calculates the following equation and prints the result:
S = 13 + 23 + 33 + ... +N3