Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a - Use virtualbox in your (optional) laptop and/or FIU Lab computer b - Install Ubuntu as a virtual machine inside virtualbox c - Install

a - Use virtualbox in your (optional) laptop and/or FIU Lab computer b - Install Ubuntu as a virtual machine inside virtualbox c - Install Windows7 as a virtual machine inside virtualbox d - Install Java JDK inside Ubuntu and Windows7 in your virtualBox e - Create a folder called projects inside Windows7 and Ubuntu VM's f - Using Ubuntu's terminal create the java program described below, inside your projects folder. g - Using Windows's command line create the java program described below, inside your projects folder. Do not use an IDE like NetBeans. 
 Program must be named: ArrayMath.java - Make sure the program is properly documented and aligned uniformally, 
How to create the java program: - Create a Java program in both Windows and Ubuntu using any of their Editors *** DO NOT USE IDE'S SUCH AS ECLIPSE, NETBEANS, ETC *** - Windows : In the Command Line (cmd), use the notepad or notepad++ editor - Ubuntu : In the Terminal Mode use the gedit, or nano or pico or vi or vim editor - Compile and run this program using the MSDOS/Terminal ex: to compile : javac ArrayMath.java to run : java ArrayMath Purpose of this program: - Create a 10 x 10 two dimensional array of int data type (Remember that arrays start with 0, not 1. - Load each index in the array with the multiplication of each (row * column) location - Using printf display the content of each index, ALIGNED. - Create an algorithm using a loop that will add all the values in all odd columns, and print their total aligned below the column. - Print the addition of all values in each index in the array. This is a sum of all the elements of the array. - Print your name and Panther ID below all other output. How: - In the main method declare the two dimension array. - From the main method, passing the two dimensions array, call a method named arrays - In the arrays method do the rest of the program 

1. a screenshot of your program running on the Windows system 2. a screenshot of your program running on the Ubuntu system. 3. The ArrayMath.java file. 

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

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions