Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java program using methods and arrays. Create HW9_lastname.java program that: 1. Prints a program title 2. Creates a table with grades for our

Write a Java program using methods and arrays.

Create HW9_lastname.java program that:

1. Prints a program title

2. Creates a table with grades for our class students and

initializes grades with random values

2. Finds the largest grade for every student

3. Displays the following information:

Student name:

CIS 232 Introduction to Programming

Programming Project 9

Due Date: November 9, 2020

Instructor: Dr. Lomako

ASSIGNMENT GRADES

HW1 HW2 NW3 HW4 HW5 HW6 HW7 Student Name

_______________________________________________________

0001 0076 0078 0068 0003 0012 0048 Adams

0033 0042 0035 0020 0021 0058 0060 Aimuengheuwa

0013 0021 0037 0099 0025 0098 0060 Bennett

0068 0089 0007 0051 0083 0057 0080 Bowen

0062 0078 0083 0013 0023 0043 0098 Brown

0052 0003 0033 0091 0003 0031 0080 Brumaire

0057 0076 0089 0053 0026 0028 0022 Bubb

0089 0081 0079 0100 0092 0024 0084 Clarke

0022 0074 0009 0052 0002 0061 0026 Crawford

0097 0037 0046 0010 0058 0036 0098 Garcia

0053 0046 0013 0075 0008 0097 0011 Godfrey

0013 0025 0085 0021 0059 0086 0088 Grenade

0030 0039 0092 0026 0067 0024 0016 Jean-jacques

0046 0023 0063 0066 0095 0072 0090 Labissiere

0058 0079 0078 0033 0093 0067 0048 Lian

0043 0025 0020 0065 0054 0087 0054 Mompremier

0067 0011 0017 0085 0021 0008 0013 Obadi

0088 0018 0032 0051 0017 0033 0083 Ogbormeh

0018 0033 0076 0061 0061 0036 0037 Penalo

0092 0006 0014 0041 0052 0031 0042 Ragland

0014 0100 0039 0051 0019 0019 0084 Sancho

0011 0053 0001 0001 0020 0049 0049 Stanislaus

0057 0094 0029 0021 0040 0010 0006 Wright

The largest student's grade

78 is the largest grade of Adams

60 is the largest grade of Aimuengheuwa

99 is the largest grade of Bennett

89 is the largest grade of Bowen

98 is the largest grade of Brown

91 is the largest grade of Brumaire

89 is the largest grade of Bubb

100 is the largest grade of Clarke

74 is the largest grade of Crawford

98 is the largest grade of Garcia

97 is the largest grade of Godfrey

88 is the largest grade of Grenade

92 is the largest grade of Jean-jacques

95 is the largest grade of Labissiere

93 is the largest grade of Lian

87 is the largest grade of Mompremier

85 is the largest grade of Obadi

88 is the largest grade of Ogbormeh

76 is the largest grade of Penalo

92 is the largest grade of Ragland

100 is the largest grade of Sancho

53 is the largest grade of Stanislaus

94 is the largest grade of Wright

Remember, the class name must be the same, as the java file name!

Create files:

Report:HW9_report_lastname.com

File name: HW9_lastname.java

Class name:HW9_lastname.class

Create HW9_lastname.zip file with three files:

HW9_report_lastname.com

HW9_lastname.java

HW9_lastname.class

and submit it to Blackboard.

Help

*************************************************

Student names:

\"Adams\", \"Aimuengheuwa\", \"Bennett\", \"Bowen\", \"Brown\", \"Brumaire\", \"Bubb\", \"Clarke\", \"Crawford\", \"Garcia\", \"Godfrey\", \"Grenade\", \"Jean-jacques\", \"Labissiere\", \"Lian\", \"Mompremier\", Obadi\", \"Ogbormeh\", \"Penalo\", \"Ragland\", \"Sancho\", \"Stanislaus\", \"Wright\"

**************************************************

Format of the printf method :

% [flags] [width] [.precision] conversion-character

(square brackets denote optional parameters )

Following is the list of conversion characters that you may use in the printf:

%d for signed decimal integer

%f for the floating point

%o octal number

%c for a character

%s a string

%i use for integer base 10

%u for unsigned decimal number

%x hexadecimal number

%% for writing % (percentage)

%n for new line =

The flags list include:

justify left

+if you require to output the + or minus in the formatted string.

^uppercase

0for zero-padded numeric values

Examples:

System.out.printf(\"Total is: $%,.2f%n\", dblTotal);

System.out.printf(\"Total: %-10.2f: \", dblTotal);

System.out.printf(\"% 4d\", intValue);

System.out.printf(\"%20.10s \", stringVal);




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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions