-2

hi
Im trying to write a program to store info on books (title, author, number of pages and price) i have a class for books that works and the program accepts input from the user correctly but my problem is that it has to throw a exception when the price is higher than 10 cents per page and i cant figure out how to do this . Any help would be appreciated .

Votes + Comments
Pure laziness. A simple google of the problem would have told you immediately.
2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by nick.crane
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.