Question
CW 3-3: Formatting Write a program that asks for the full names of 2 students, their age and their percentage in class. It should display
CW 3-3: Formatting
Write a program that asks for the full names of 2 students, their age and their percentage in class. It should display the: -Names of the students in alphabetical order with their age and percentage next to their name. -Age of the students in ascending order, with the name and percentage next to the age. -The percentage of the students in descending order, with the name and age next to them. ** Use formatting to print the percentage with 4 numbers after the decimal. The age should always be printed in a field that is 6 spaces wide.
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