Project for raheelwaqar3 -- 4

Closed

Step #1

-------

Write a main() function that asks the user to enter five integers less than or equal to 20.

Store the numbers in a list.

Write code that error checks the numbers entered by the user, such that if a number entered is greater than 20,

print("Error: You must enter a number less than or equal to 20").

You will need a while loop for this.

Step #2

-------

Write a function called histogram() that takes a list of integers and prints

a histogram to the screen. For example:

histogram([4, 6, 3, 10, 12]) should print the following:

****

******

***

**********

************

Step #3

-------

Pass the list you created in step #1 to histogram() and print the five numbers in the histogram format.

Skills: Database Development, J2EE, Project Management, Software Development, UML Design

See more: project touch screen restoraunt menu, project java screen sharing, project iphone screen training, project iphone screen app, asp project touch screen, project iphone screen, iphone project everything screen, input screen takes clients information order, project sms screen, play flash project full screen, design project touch screen, project picture screen

Project ID: #11815802

Awarded to:

raheelwaqar3

Hired by the Employer

$15 USD in 1 day
(10 Reviews)
2.9