Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a. 1550 students in a college have to be put in different courses according to their interest. Their interest is recorded in the following table.
a. 1550 students in a college have to be put in different courses according to their interest. Their interest is recorded in the following table.
Percentage
25% 10%
40% 5% 20%
Course of Interest
Artificial Intelligence English
Mathematics Physics
Business Studies
Write an algorithm, draw a flowchart and write a python program that will calculate the number of students who are interested in each course. Get each input both for the course and the percentage from the user using loops.
b. Suppose the temperature of your coffee is 120 degrees Fahrenheit. You want to drink it at 118 degrees. A chip of ice turns out to lower the temperature one degree each time. You test the temperature each time, and also print out the temperature before reducing the temperature. Write a code in python for this. [6+4=10 Marks]
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