Hello. I'm trying to figure out an exercise. I started working on it but I kind of hit a wall. I'm not very good at the programming thing and the book I have is not very helpful. I could use some help or suggestions. I don’t know if what I have started so far is even the correct way to do this. Here is exercise.
Create a class called CarRental that contains fields that hold a renter's name, zip code, size of the car rented, daily...
User Profile
Collapse
-
need help with JAVA exercise
-
please help! JAVA question
. I need to modify the UseTaxpayer application so each Taxpayer has a successive Social Security number from 1 top 10 and a gross income that ranges from $10,000 to $100,000, increasing by $10,000 for each successive Taxpayer. Save as UseTaxpayer2
Here is what I have so for far from the UseTaxpayer application. Any suggestions on how to get it to increment?
Code: ( text )
public class Taxpayer
... -
Modifying two variables in a loop
I need to modify the UseTaxpayer application so each Taxpayer has a successive Social Security number from 1 top 10 and a gross income that ranges from $10,000 to $100,000, increasing by $10,000 for each successive Taxpayer. Save as UseTaxpayer2
Here is what I have so for far from the UseTaxpayer application. Any suggestions on how to get it to increment?
...Code:public class Taxpayer { private int socNum; -
ok I got it to work. thanks for the help. but now problem # 2. I need to modify the UseTaxpayer application so each Taxpayer has a successive Social Security number from 1 top 10 and a gross income that ranges from $10,000 to $100,000, increasing by $10,000 for each successive Taxpayer. Save as UseTaxpayer2
Here is what I have so for far from the UseTaxpayer application. Any suggestions on how to get it to increment?
... -
Java help! - Arrays
Windows XP
JAVA
n00b here. I'm not very good at Java. In fact I am really struggling with it. I've spent the last 6 hours trying to get this to work. The book I have isn’t very helpful.
I'm supposed to create a class names Taxpayer. Data fields for Taxpayer include Social Security number (use an int for the type, and do not use dashes within the Social Security number) and yearly gross income. Methods include...
No activity results to display
Show More
Leave a comment: