first post here! programming homework
2 posters
Page 1 of 1
first post here! programming homework
well I guess someone has to post something......
I will start in this section....
cause I have programming homework and its pretty hard!!
I have to make a java program that translated roman numerals into decimals!!
and its annoyingly hard cause I have to make sure if there a "IX" that it gets changed to 9 not 11!
Im almost done but right now its not working!!?
I will start in this section....
cause I have programming homework and its pretty hard!!
I have to make a java program that translated roman numerals into decimals!!
and its annoyingly hard cause I have to make sure if there a "IX" that it gets changed to 9 not 11!
Im almost done but right now its not working!!?
shamguy4- Moderator
- Number of posts : 76
Age : 36
Location : um.... In front of a computer?....
Whats your deal? : I dunno..... Just waiting...for something....
Room : Bathroom
Registration date : 2008-02-18
L-Brainery stats
Brain cells:
(50/200)
Powers:
Purim character:: Haman
Re: first post here! programming homework
Well
You'll probably need to make a switch in a while loop that will intake the various letters and make a if statement that will make sure that if the case is 'I' make an if statement that will check the letter after the 'I' and if there is a letter it will add 4 instead of 5 or whatever... otherwise just add one
I could probably go through the whole thing with you but I dont really have time right now....
if its vague please tell me and when I get around I will help you
You'll probably need to make a switch in a while loop that will intake the various letters and make a if statement that will make sure that if the case is 'I' make an if statement that will check the letter after the 'I' and if there is a letter it will add 4 instead of 5 or whatever... otherwise just add one
I could probably go through the whole thing with you but I dont really have time right now....
if its vague please tell me and when I get around I will help you
The Admin- Admin
- Number of posts : 55
Location : seventh moon on darshanaxa in the galaxy of xylifixiax
Whats your deal? : I am just visting this planet cause thats a requirement for my college....
Room : Bathroom
Registration date : 2008-02-15
L-Brainery stats
Brain cells:
(157/200)
Powers:
Purim character::
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum