Skip to content
Creates a list of topic of choice and how many people liked which topic. Program outputs all topics with asterisk to each.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HistogramGenerator.java
README.md
Validation.java

README.md

Survey Poll

Creates a list of topic of choice and how many people liked which topic. Program outputs all topics with asterisk to each.

Enter Title (i.e): Favorite icecream flavor Enter quantity of flavors (i.e): 3 Enter Title for first flavor (i.e): Chocolate Enter How many people liked this flavor (i.e): 10 Enter next flavor title (i.e): Vanilla Enter how many people liked this flavor (i.e): 6 Enter next flavor title (i.e): Strawberry Ener how many people liked this flavor (i.e): 9

(Program checks if quanitiy is an integer)

OUTPUT

alt text

You can’t perform that action at this time.