Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help!!!! (Programming language: Java) Make part 1 on one java file and part 2 and 3 into another java file For part 1,

I need help!!!! (Programming language: Java)

Make part 1 on one java file and part 2 and 3 into another java file

For part 1, calculate the sum, difference, and product using the numbers given on step a.

For part 2, only use the matrix given

image text in transcribed

The given matrix:

image text in transcribed

1. Make a one-dimensional array with 15 integers. Using an enhanced for loop complete the following tasks: a. Use the following numbers: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30) b. Calculate the Sum, difference, and product. C. Place these values in a one-dimensional array. d. Print out this array. 2. Using the given matrix a. Populate the array using the matrix b. sum the numbers by row C. Put the sum in a one-dimensional array. Create a character array and populate it with the letters of the alphabet. d. Populate indexes 0-9 with a period, a questions mark, an explanation mark, a comma, and spaces for the remainder. "A" starts at index 10. e. Using the sum array, use the modulus operator, (%100) find the corresponding letter with in the character array and concatenate the letters and print out the letters. 3. Continuing from lab 2: a. Use the concatenation of letters from lab two. Using the substring method, populate a string array with the words and print out the message. b. Then use the character array and place the spaces in appropriate places and the correct punctuation marks. Print out the message

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

b. Does senior management trust the team?

Answered: 1 week ago

Question

c. How is trust demonstrated?

Answered: 1 week ago

Question

Have issues been prioritized?

Answered: 1 week ago