Explore BrainMass
Share

User Input and Output Strings

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

User Requirements:
Use VB to develop an application that will allow the user to input a character string, and produce the following result:

Output the string rotated to the right by a user-defined number of characters (0 or more). For example, "Hello world!" rotated by 2 characters would be: "d!Hello worl".
Output the string rotated left by a user-defined number of characters (0 or more).
Output the string backwards. That means "Hello world!" becomes "!dlrow 0lleH".
Output the number of characters in the string. For example, "Hello world!" has 12 characters.
Output the string with the spaces replaced by underscores. "Hello world!" becomes "Hello_world!"

Program Requirements:
You must center all forms on the screen using a common procedure.
You must use at least one user-defined function and one user-defined SUB procedure.
You need to provide a way to exit the program gracefully.

© BrainMass Inc. brainmass.com October 25, 2018, 8:45 am ad1c9bdddf
https://brainmass.com/computer-science/visual-basic/user-input-output-strings-551425

Solution Summary

The use VB to develop an application that will allow the user to input a character string, and produce is determined.

$2.19
See Also This Related BrainMass Solution

Input and Output Processing in C Language

Can you please help me answer the following study question? Thanks.

How is the input and output processing structured in the C language? How can you display some combination of words and numbers on the computer's screen? How to get information from a keyboard to be used in your program? What are Output Format characters?

View Full Posting Details