Find Jobs
Hire Freelancers

Do my Java homework (Program too buy a cattle dog) Beginner

$30-250 USD

Completed
Posted over 13 years ago

$30-250 USD

Paid on delivery
Its getting late in the semester and I have a lot of assignments building up on my desk. Its time to do some out sourcing. # Define a simple class * 2 constructors: default/non-default * Set/Calc for each attribute (data members) o Data Validation in set methods. o Handle the results of the set method in the application. Keep asking until correct data is entered. * Get method for each attribute. * Display method – displays all data members in a neat presentation. # Look at code you’ve written and figure out what code can be moved to the class. * This code may be put into the set/calc/get methods (Validation and Calculations) * or you may create a new method in the class for it. (ex. sellItem(int qty) will compare qty to the number on hand and process the purchase if valid). * OR you may need to keep it in your application (where the GUI is built). # Use files for input and output * Input: Requires a loop (possibly a nested loop) to read the data in. Once you've read the data in, you must use the data for something. o You must have AT LEAST 5 records in your input file. o We’ll be learning about Arrays, I expect you to read your file into an Array of objects. Suggestion: For now, leave the input file part out until we’ve covered Arrays. + Option 1: [login to view URL] - submit with Final Project + Option 2: Incorporate arrays into your project + Option 3: Do both to get extra credit. (3 points) + Extra Credit if you do ProjectArrays with ArrayLists (5 points) * Output file: use printf. Either a report or a receipt. # Data Validation: make sure that the information being passed in is appropriate for the class/application/method. # GUI: Interactive; doesn't just display data. * Any message output to the user must use formatting (DecimalFormat / NumberFormat) for numbers. * You must use JButtons, JTextFields, JCheckboxes(2 or more), JRadioButtons (2 or more) # Naming Conventions: make your code easier to read/understand/grade. * variables: lowerCase * methods: startsWithVerb * Class: ClassNameStartsWithCapitol * Class Set Methods: set methods must be "setVariable" where Variable is the Class data member. * Same with Class get and calc methods. # Commenting your code thoroughly. This helps me grade faster. If it's not clearly commented, points will be taken off. # Use correct indentation. This helps me grade faster. # Use of correct datatypes. money should be double/float; averages should be double/float; counters should be int; think about the values that go in the buckets and declare them appropriately. # What I expect to be turned in: (If these are not turned in, I will not be able to give you a full score because there won’t be time for me to contact you and get it resubmitted.) * Code o Class o UseClass that you used to test the class thoroughly o GUI application code * Input file * Screen print of the GUI * Output file. we are doing Australian cattle dogs (blue heeler, red heeler) price for a young dog(0-5)=150.00 older dog(6-20) =100.00 i am a beginner programmer so the simplet the code the better I need this done by tue at 10pm (eastern time)
Project ID: 882176

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, please check my PMB. Thanks.
$150 USD in 1 day
4.7 (2 reviews)
3.0
3.0
2 freelancers are bidding on average $125 USD for this job
User Avatar
Hello, Please check your inbox Thanks
$100 USD in 0 day
4.9 (104 reviews)
7.3
7.3

About the client

Flag of UNITED STATES
waterford, United States
5.0
1
Member since Dec 13, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.