Write a simple java program that accepts as input: a student’s name, ID number, Major, GPA, and bi-weekly paycheck. The program stores the input and retrieves them on demand. Assume that: 1) The student’s name is Jane William. 2) The ID number begins with capital R0 and contains 7 additional numeric, for example R01234567. 3) The GPA cannot be less than 0.0 and cannot be greater than 4.0. 4) The bi-weekly paycheck cannot be less than $0. Your Tasks Finally, write a test class working with JUNIT.
Write a simple java program that accepts as input: a student’s name, ID number, Major, GPA, and bi-weekly paycheck. The program stores the input and retrieves them on demand. Assume that: 1) The student’s name is Jane William. 2) The ID number begins with capital R0 and contains 7 additional numeric, for example R01234567. 3) The GPA cannot be less than 0.0 and cannot be greater than 4.0. 4) The bi-weekly paycheck cannot be less than $0. Your Tasks Finally, write a test class working with JUNIT.
Chapter2: Using Data
Section: Chapter Questions
Problem 15PE
Related questions
Question
100%
Write a simple java program that accepts as input: a student’s name, ID number, Major, GPA, and
bi-weekly paycheck. The program stores the input and retrieves them on demand.
Assume that:
1) The student’s name is Jane William.
2) The ID number begins with capital R0 and contains 7 additional numeric, for example
R01234567.
3) The GPA cannot be less than 0.0 and cannot be greater than 4.0.
4) The bi-weekly paycheck cannot be less than $0.
Your Tasks
Finally, write a test class working with JUNIT.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning