Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help! CIST 2371 Java Programming I LAB #6 - 50 Points Arrays 1.) Problem #1: (Arrays) Create a Class to store 100 integers in an
Help!
CIST 2371 Java Programming I LAB #6 - 50 Points Arrays 1.) Problem #1: (Arrays) Create a Class to store 100 integers in an Array. Call your class "SimpleArray", and store it in a file called "SimpleArray.java. All code should go in the main() method. First declare an array of 100 integers. Use a for loop to store the numbers between 500 and 599 in the array. Then build a second loop to print out the data in this array. 2.) Problem #2: (Arrays) Modify your Fahr/Celsius program from Lab #4. This time, as you go through the loop, instead of printing the Fahrenheit and Celsius data out, store the values in 2 arrays; one array for Fahrenheit and one array for Celsius. After the first loop that stores the data completes, write another loop that will print out the 2 arrays of data. 3) Problem #3: Working with char arrays. Given a char array. build a method that will print the chars in the array out in reverse order. Call your class "Reverse3", and store it in a file called Reverse 3.java public static void main(....) { char name[] = {'S', 't', 'e', 'v', 'e' }; print out the name array. reverse 3(name); //will print out chars backwards } You build the reverse30 method Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started