|
#1
|
|||
|
|||
Re: $10 to finish this java program for me
I realize it's not encryption. It's just an assignment I have to do. Is anyone trying this?
|
#2
|
|||
|
|||
Re: $10 to finish this java program for me
dude no one competent is going to do this for $10.
|
#3
|
|||
|
|||
Re: $10 to finish this java program for me
I don't think it would take anyone competent more than 10 minutes max.
On another note, does anyone know how you would do this problem? Write a Java program that accepts a string from a terminal and converts all the lowercase letters in the string to uppercase, and all the uppercase letters in the string to lowercase. It's not arrays because we have not reached that chapter yet. |
#4
|
|||
|
|||
Re: $10 to finish this java program for me
[ QUOTE ]
On another note, does anyone know how you would do this problem? Write a Java program that accepts a string from a terminal and converts all the lowercase letters in the string to uppercase, and all the uppercase letters in the string to lowercase. It's not arrays because we have not reached that chapter yet. [/ QUOTE ] Aren't their methods in the api to do this? I don't know them off the top of my head, but toLowerCase(), toUpperCase()? Even without them, just find a relationship between lower case and upper case ASCII values and do it that way. |
#5
|
|||
|
|||
Re: $10 to finish this java program for me
[ QUOTE ]
[ QUOTE ] On another note, does anyone know how you would do this problem? Write a Java program that accepts a string from a terminal and converts all the lowercase letters in the string to uppercase, and all the uppercase letters in the string to lowercase. It's not arrays because we have not reached that chapter yet. [/ QUOTE ] Aren't their methods in the api to do this? I don't know them off the top of my head, but toLowerCase(), toUpperCase()? Even without them, just find a relationship between lower case and upper case ASCII values and do it that way. [/ QUOTE ] Most likely the second part is what is required. Just do a check for the value and if less than X, add Y, etc. Get a chart of the values and you should be good. |
#6
|
|||
|
|||
Re: $10 to finish this java program for me
Already did it. Converted them to integers then added or subtracted and converted them back.
|
#7
|
|||
|
|||
Re: $10 to finish this java program for me
[ QUOTE ]
Already did it. Converted them to integers then added or subtracted and converted them back. [/ QUOTE ] oh ok cool. btw, i know it sucks, but unless this is a completely meaningless major for you, really try to get through the programs yourself. ask 1000 questions, but make sure you can do things as well, or its going to get really hard at the end and you'll be frustrated as [censored]... |
#8
|
|||
|
|||
Re: $10 to finish this java program for me
A side note, even though you finished already.
Character.isUpperCase(ch)/Character.isLowerCase(ch) Character.toUpperCase(ch)/Character.toLowerCase(ch) These would have helped. I recommend that if you keep programming, make friends with the Java API. It will make your life a lot easier. |
|
|