LBrainery
Would you like to react to this message? Create an account in a few clicks or log in to continue.

first post here! programming homework

2 posters

Go down

first post here! programming homework Empty first post here! programming homework

Post by shamguy4 Mon Feb 18, 2008 11:00 pm

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!!?
shamguy4
shamguy4
Moderator
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:
first post here! programming homework Left_bar_bleue50/200first post here! programming homework Empty_bar_bleue  (50/200)
Powers:
Purim character:: Haman

Back to top Go down

first post here! programming homework Empty Re: first post here! programming homework

Post by The Admin Tue Feb 19, 2008 12:01 am

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
The Admin
The Admin
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:
first post here! programming homework Left_bar_bleue157/200first post here! programming homework Empty_bar_bleue  (157/200)
Powers:
Purim character::

https://lbrainery.darkbb.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum