Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help with creating this java code! This assignment consists of writing two programs. Your first program will be to: (Calculating the product of odd integers)

Help with creating this java code!

image text in transcribed

This assignment consists of writing two programs. Your first program will be to: (Calculating the product of odd integers) Write an application that calculates and outputs the product of odd integers from 1 to 15. Your second program will require you to use static methods to accomplish each of the following requirements for your program. Use a while loop to ensure one or more students grades may be processed and output 1. read a user's first and last name (you must call this method twice. First for the first name, then a second time for the last name) 2. read three integer scores (must call the method three times, once for each of the scores) 3. calculate the total (value returning method) 4. calculate average (value returning method) 5. determine the letter grade based on the following criteria - Average 90-100 grade is A, 80-89.99 grade is B, 70-79.99 grade is C, all others F(use a nested if in a value returning method) 6. output formatted results using printf method. Output must include the full name, the three scores, total, average (to 2 decimal places), and the letter grade (void method) Go to step 1 if user wants to go through the above 6 steps for another student You are required to use a static method for each of the steps 1-6 with the first two methods called several times. Method main should have variable declarations and a while loop with calls to these methods. The first two methods will be called multiple times

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

Sybase Database Administrators Handbook

Authors: Brian Hitchcock

1st Edition

0133574776, 978-0133574777

More Books

Students also viewed these Databases questions

Question

What is Accounting?

Answered: 1 week ago

Question

LO4 Provide an overview of four challenges facing HR today.

Answered: 1 week ago