Question: Could someone please write this program in Java for me? Computer Science I: Java Objective This assignment will demonstrate the process of programming using the
Could someone please write this program in Java for me?

Computer Science I: Java Objective This assignment will demonstrate the process of programming using the three basic structures. Submit Your project java source file in zipped format. Don't submit your .class file. Description The square of any number is equal to that number of odd values added together, beginning at 0 . For example, 5 times 5 is equal to the sum of the first 5 odd numbers: The sum of 6 squared is equal to the sum of the first 6 odd numbers beginning at 0 and so on. Write a Java program asking the user to keyin an integer number and calculate the square of that number using this method of addition. Output the odd numbers and the total value as shown here: Enter number for squaring: 6 1+3+5+7+9+11=36 Do you want to repeat for another number (Y/N) : n Bye... When checking for Y or N for repeating also check for upper and lower case values and repeat the question if an unacceptable value is entered. When an acceptable value has been entered proceed with the appropriate algorithm. Use basic programming practices as taught in the book. Do not use advanced features
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
