Question: Wite a program that asks the user for the number of in - state students and the number of outof - state students registered in
Wite a program that asks the user for the number of instate students and the number of outofstate students registered in a class.
Then, it displays the percentage of instate and outofstate students in the class.
Hint: Suppose there are instate and outofstate students in a class.
There are students in the class.
The percentage of instate students can be calculated as or
The percentage of outofstate students can be calculated as or
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
