473,396 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help me with this program...

2
Anyone know a way I can create a program that when the user enter a word, it appears on the form like this:

EXAMPLE
XAMPLEE
AMPLEEX
MPLEEXA
PLEEXAM
LEEXAMP
EEXAMPL

I'm only suppose to use loops, left$, mid$, right$, trim$ strings and if/else statements

Thanks in advance.
Apr 2 '07 #1
5 1162
Dököll
2,364 Expert 2GB
Anyone know a way I can create a program that when the user enter a word, it appears on the form like this:

EXAMPLE
XAMPLEE
AMPLEEX
MPLEEXA
PLEEXAM
LEEXAMP
EEXAMPL

I'm only suppose to use loops, left$, mid$, right$, trim$ strings and if/else statements

Thanks in advance.
Hiya Azuran!

Is this a school project?

Dököll
Apr 2 '07 #2
Azuran
2
Hiya Azuran!

Is this a school project?

Dököll
Yup, but I missed class for one week and I'm really far behind and I really need to get this done.
Apr 2 '07 #3
Killer42
8,435 Expert 8TB
Yup, but I missed class for one week and I'm really far behind and I really need to get this done.
Have you learned how to do any of this, yet?

Hint: In a loop, you will be taking one character from the Left of the string, and the rest of the string, and sticking them together ("concatenating" them) to make the new string.

We don't provide straight copy-and-paste answers to school assignments, as it doesn't help you to learn anything. (See our policy/guidelines here).
Apr 2 '07 #4
Dököll
2,364 Expert 2GB
Yup, but I missed class for one week and I'm really far behind and I really need to get this done.
How much time do you have? I think you're on the right track. You'd need to read up about it a bit. I can help no doubt but would need to see what you have working...

You'd also need a replace command in the mix, got a tutorial on that. I'd have to look. Have you previously searched this forum?

Might want to try adding Find and Replace in search terms. Give it a whirl, see what you have.

In a bit!

Dököll
Apr 2 '07 #5
Dököll
2,364 Expert 2GB
How much time do you have? I think you're on the right track. You'd need to read up about it a bit. I can help no doubt but would need to see what you have working...

You'd also need a replace command in the mix, got a tutorial on that. I'd have to look. Have you previously searched this forum?

Might want to try adding Find and Replace in search terms. Give it a whirl, see what you have.

In a bit!

Dököll
We must have been typing the same instant Killer :-)
Apr 2 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
5
by: Bec | last post by:
I'm in desperate need of your help.. I need to build an access database and have NO idea how to do this.. Not even where to start.. It IS for school, and am not asking anyone to do my...
7
by: tyler_durden | last post by:
thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.