Question: please I want only the iteration table. please help fast . For the following problem, write Algorithm and iteration table and Python program. Do the

 please I want only the iteration table. please help fast .

please I want only the iteration table. please help fast

. For the following problem, write Algorithm and iteration table and Python program. Do the Python program on Moovit.vit.ac.in. Write algorithm, iteration table and Python program on plain paper by hand. Submit one pdf file containing all pages. 1. Speed Summary At a location, speed of N number of vehicles has been recorded. These speeds will be input one by one. Write a program that displays the following items as a summary of speeds. A frequency table as shown below: Number of % of vehicles Speed Range vehicles (2 decimals) 1-20 Count 1 Count1/N*100 21-40 41-60 61-80 81 and above Maximum speed Average speed (round off to one decimal) Answer: Algorithm 1. Start 2. Input N 3. Initialize maxspd=0, sum=0, count=1 4. Initialize spd1=0, spd2=0, spd3=0, spd4=0, spd5=0 5. If countmaxspd) then maxspd=spd sum=sum+spd count=count+1 go to 5 6. Print header line: speed range, No. of vehicles, % No. of vehicles 7. Print 1-20, spd1, spd1/N 8. Print 21-40, spd 2, spd2/N ... 9. Print maxspd 1 of 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!