Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started