English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

the problem is mainly on an array form. heres the deatails.
you will enter a number its either "i" or "o"
when you choose letter "o" it will display like this..

II o
You choose again to enter letter o the output will be
II oo
you choose to enter i the output will be:
i II oo:
note:( the move ment of i is from left to right while the letter o is from right to left.)

and there should be a menu that will erase all the input of an specified letter (ex. erase all letter i that will remain all lettters o)

and also there should be an option that will erase all the displayed letter when you click that menu.

2006-08-15 10:55:44 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

it's a string concatenation problem
add the i to the beginning
add the o to the end
if a delete is chosen it's a substring call based on the letters ll

just a matter if you want to keep the first part or the last part

2006-08-15 11:12:43 · answer #1 · answered by Anonymous · 0 0

This is very trivial. Almost like a homework assignment.

But to add an o to the end, use concat(somestring). To insert an i at the beginning, you could shift all the letters to right in the string, then place the i in the index opened up.

2006-08-15 11:07:05 · answer #2 · answered by jacinablackbox 4 · 0 0

java sucks!!!!!!! and always will...

2006-08-15 11:16:37 · answer #3 · answered by Funk-Ski Biznez Man 4 · 0 0

fedest.com, questions and answers