Placeholder

CMIS 141 Assignment 1 Student GPA

$19.00

Description

Write a Java program which:
Prompts a user to enter student id, current class grade in GPA format (e.g. 3.5), current class number of credits, overall GPA, and overall number of credits (use Scanner for input).
Calculates student’s new overall GPA based
Displays the input data along with new GPA to the console. To calculate new overall GPA: ((current-class-GPA times current-class-credits) plus (overallGPA times overall-credits)) divided by (current-class-credits + overall-credits) For example, given current class 3.5 and 3 credits and overall GPA 3.0 and 9 credits: ((3.5*3) + (3.0*9)) / (3+9) = 3.125 new overall GPA
Test program: A minimum of 3 test cases should be supplied in the form of table with columns indicating the input values, expected output, actual output and if the test case passed or failed. This table should contain 4 columns with appropriate labels and a row for each test case.
Make sure your Java program is using the recommended style such as:
brief purpose of the program
Comments for variables and blocks of code to describe major functionality
Meaningful variable names and prompts
Class names are written in upper CamelCase
Constants are written in All Capitals
Use proper spacing and empty lines to make code human-readable
SCREENSHOTS
SOLUTION
PAYMENT
The solution consists of:
A report word document for this assignment
All Java programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CMIS_141_Assignment_1.zip (173.22 KB)
CMIS 141 Assignment 1 Report.docx
CMIS141-Assignment-1-Screenshot-1.png
CMIS141-Assignment-1-Screenshot-2.png
CMIS141-Assignment-1-Screenshot-3.png
source code
Student.java
Preview Student.java
xxxxxx xxxx.xxxx.xxxxxxx;
xxxxxx xxxxx xxxxxxx {
public static void main(String[] args) { Scanner input = new Scanner(System.in); // initial input stream System.out.println(“Enter student id: “); // System.out.flush(); int studentId = input.nextInt(); System.out.println(“Enter current class grade in GPA format (e.g. 3.5): “); double gpa = input.nextDouble();
xxxxxx.xxx.xxxxxxx(“xxxxx xxxxxxx xxxxx xxxxxx xx xxxxxxx: “);
xxx xxxxxxxxxxxxx = xxxxx.xxxxxxx();
xxxxxx.xxx.xxxxxxx(“xxxxx xxxxxxx xxx: “);
xxxxxx xxxxxxxxxx = xxxxx.xxxxxxxxxx();
xxxxxx.xxx.xxxxxxx(“xxxxx xxxxxxx xxxxxx xx xxxxxxx: “);
xxx xxxxxxxxxxxxxxxxxxxx = xxxxx.xxxxxxx();
Price: $19
You May Also Like:
CMIS 141 Assignment 2 Perform Operation on Two Numbers
CMIS 141 Assignment 3 Calculate Student Grade
CMIS 141 Assignment 4 Output Triangle and Diamond Pattern
CMIS 141 Assignment 5 Body Mass Index
CMIS 141 Assignment 6 Highest and Lowest Score
CMIS 141 Final Project Employee Salary

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.