Question
1. Write a function that can calculate the minimum of three numbers and call that function to calculate the minimum of 10 numbers. Before writing
1. Write a function that can calculate the minimum of three numbers and call that function to calculate the minimum of 10 numbers. Before writing that program writes the algorithm. Mention test input data and output. 2. Write three separate functions to calculate the mean, median, and mode of N numbers, without using the statistics module. Then use those functions to calculate those values from a list of N numbers. Before writing this program writes the algorithm for each function. Mention test input data and output. 3. Write three separate functions that can calculate the total price of one item from the information of unit price and quantity, then calculate tax from the total price and tax rate, and finally calculate the payable amount from the total price and tax. Write a main program that can take on the item name, quantity, unit price, and tax rate from the keyboard and call those functions to calculate the payable amount. Before writing that program writes the algorithm. Mention test input data and output.
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