Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Financial Accounting Tools for business decision making

Authors: Paul D. Kimmel, Jerry J. Weygandt, Donald E. Kieso

6th Edition

978-1119191674, 047053477X, 111919167X, 978-0470534779

More Books

Students also viewed these Accounting questions