Project for raheelwaqar3 -- 4

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.

Fähigkeiten: Datenbankentwicklung, J2EE, Projektmanagement, Software-Entwicklung, UML-Design

Mehr darüber 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

Über den Arbeitgeber:
( 28 Bewertungen ) Austin, United States

Projekt-ID: #11815802

Vergeben an:


Hired by the Employer

$15 USD in 1 Tag
(10 Bewertungen)