Question: 2.20 LAB: Multiple choice statistics Write a program that calculates the percentage of students choosing each answer in a multiple-choice question (A, B, C, or
2.20 LAB: Multiple choice statistics Write a program that calculates the percentage of students choosing each answer in a multiple-choice question (A, B, C, or D), The program should input the number of students who selected each answer and then display the percentage of students who chose each answer. Store the number of students choosing each answer in an integer varlable. Ex if the input is 7.1145 the output is? At25.93B:40.74C:14.85D:18.51 - Use int for the data type of the input values. - The output should display fractional amounts to one decimal place. - Do Not use an array. - Follow the Style Guidelines 2.20.1: LAB Muluple choice statistios. 0/16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
