shutterbug’s camera store | Information Systems homework help

Create a class for Shutterbug’s Camera Store, which is having a digital camera sale. The class is named DigitalCamera. and it contains data fields for a brand, the number of megapixels in the resolution and price. Include a constructor that takes arguments for the brand and megapixels. If the megapixel parameter is greater then 10, the constructor sets it to 10. The sale price is set based on the resolution; any camera with 6 megapixels or fewer is $99, and all other cameras are $129. Also include a method that displays DigitalCamera details. Write an application namedTestDigitalCamera in which you instantiate at least four objects, prompt the user for the values for the camera brand and number of megapixels, and display the values.

This is in Java.

Don't use plagiarized sources. Get Your Custom Essay on
shutterbug’s camera store | Information Systems homework help
Just from $13/Page
Order Essay

Needs to be 2 programs

Calculator

Calculate the price of your paper

Total price:$26
Our features

We've got everything to become your favourite writing service

Need a better grade?
We've got you covered.

Order your paper