Find Jobs
Hire Freelancers

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

$30-250 USD

Selesai
Dibuat lebih dari 13 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
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)
ID Proyek: 882176

Tentang proyek

2 proposal
Proyek remot
Aktif 13 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hello, please check my PMB. Thanks.
$150 USD dalam 1 hari
4,7 (2 ulasan)
3,0
3,0
2 freelancer menawar dengan rata-rata $125 USD untuk pekerjaan ini
Avatar Pengguna
Hello, Please check your inbox Thanks
$100 USD dalam 0 hari
4,9 (104 ulasan)
7,3
7,3

Tentang klien

Bendera UNITED STATES
waterford, United States
5,0
1
Anggota sejak Des 13, 2010

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.