Purchase Solution

User Input and Output Strings

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Solution Summary

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

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.