Answered step by step
Verified Expert Solution
Question
1 Approved Answer
add input and formatted output for each item. I have indicated number of decimals where it may not be obvious. Width should be determined by
add input and formatted output for each item. I have indicated number of decimals where it may not be obvious. Width should be determined by maximum size of value, if in doubt make larger. Do NOT change the order of the items (A-T) use this example and do it in exact same way of the Example : Student age System.out.println(Enter Student Age: ) age=kb.nextInt(); System.out.printf(Student Age %5d , studentAge); .
A. number of Student in class B. maximum number of students in class C. Book cost D. Sales tax percentage E. Phone Number F. Speed of Light, include units (4 decimals) G. Report Title (40 width) H. Grade (numeric) I. Grade (A,B,C,D,F) J. Persons Height in feet (two decimal) K. Persons height in cm L. Distance to the sun(1 decimal) M. Persons hourly rate, Overtime Rate N. Hours a person worked O. Size of a box (you may use multiple variables) (one decimal) P. Eye color Q. grade point average (two decimal) R. menu choice S. hypotenuse of triangle (3 decimal) T. Company sales for Jan, Feb (two numbers)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started