- #1
GluonZ
- 44
- 0
Now, I know VB is hated in a lot of instances and 5.0 is out of date, however it is the only computer programming course offered here. Basically, I'm trying to do an assignment for fun at home - we never have homework (as everyone does not have VB5.0 at home, even though there is the free variant) and just do it in class. I would like to get this particular program done at home however, since I have done the other two on this assignment sheet and want to learn how to do this one since he told us when we get to #3 on the assignment sheet we would need to know something new. The topic of these assignment sheets are string manipulation and list boxes. The previous two projects on this assignment were basically simple arrays/select case programs with list boxes.
I'm not sure exactly how to approach this question as he said we need to know something new. I'm not sure what it is, but maybe someone here could help.
The question:
"#3. Write a program that allows the user to type in as many words as they want. Your program should display the same message that the user typed in with all the letter cases reversed. That is, all the letters that the person typed in upper case are now lower case and all the letters that the person typed in lower case are now in upper case.
Example:
Person types in:
Now Is The Time
And the computer repeats back in another location:
nOW iS tHE tIME"
Now, I'm not sure if I absolutely need this new thing he was talking about or not - but any help is appreciated.
Were not very far in the course, all we have done are forms (obviously), math operations, select case and if then statements, arrays, option buttons, and currently list boxes and string manipulation.
Thanks in advance.
I'm not sure exactly how to approach this question as he said we need to know something new. I'm not sure what it is, but maybe someone here could help.
The question:
"#3. Write a program that allows the user to type in as many words as they want. Your program should display the same message that the user typed in with all the letter cases reversed. That is, all the letters that the person typed in upper case are now lower case and all the letters that the person typed in lower case are now in upper case.
Example:
Person types in:
Now Is The Time
And the computer repeats back in another location:
nOW iS tHE tIME"
Now, I'm not sure if I absolutely need this new thing he was talking about or not - but any help is appreciated.
Were not very far in the course, all we have done are forms (obviously), math operations, select case and if then statements, arrays, option buttons, and currently list boxes and string manipulation.
Thanks in advance.