TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Prime b
NA
810
346k
Loop question please help
Jan 7 2012 2:51 PM
Th e Whippet Bus Company charges prices for tickets based
on distance traveled, as shown in the accompanying table.
Distance (miles) Ticket Price ($)
0 – 99 25.00
100 – 299 40.00
300 – 499 55.00
500 and farther 70.00
Write a program that allows a user to enter a trip distance.
Th e output is the ticket price
My question is how do i represent distance? cause it has number range so i am not really sure how to use array here
Reply
Answers (
8
)
Another array problem
2 question about combobox and save files