Tabling Grades (String concatenation). Write a Java program that prints a table with a list of at
Question:
Tabling Grades (String concatenation). Write a Java program that prints a table with a list of at least 3 students together with their grades earned (lab points, bonus points, and the total) in the format below. However, the Total must be calculated by the program from the Lab and Bonus values. ///////////////////\\\\\\\\\\r == Student Points == \\\\\\\\\/////////////////// Name Lab Bonus Total ---- --- ----- ----- Joe 43 7 50 William 50 8 58 Mary Sue 39 10 49 The requirements for the program are as follows: Print the border on the top as illustrated (using the slash and backslash characters). Use tab characters to get your columns aligned and you must use the + operator both for addition and string concatenation. Make up your own student names and points—the ones shown are just for illustration purposes. You need 5 names.
Data Structures and Algorithms in Java
ISBN: 978-1118771334
6th edition
Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser