Question: Use java to complete the program Lab 03 Numbers Squared Objective Write a program that prompts the user for a 4 digit whole number (we
Lab 03 Numbers Squared Objective Write a program that prompts the user for a 4 digit whole number (we assume the users will enter this correctly) and then displays it squared! No, not the mathematical squaring silly goose. This will make a square box of the number! WHOA! The top is the number, the left hand side is the number but going down, the bottom is the number reversed, and the right hand side is the number going up. Example Dialog: Enter a 4 digit number 1234 1234 2 3 3 2 4321 Lab Report Questions: 1. In order to get the sth letter in a String variable then what method and parameter(s) needs to be called? 2. In order to get the smaller String that ranges from the 3rd letter to the sth letter, then what method and parameter(s) need to be called? Finally: Upload the java file to the dropbox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
