Explore BrainMass
Share

Explore BrainMass

    User Input and Output Strings

    This content was COPIED 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 10, 2019, 6:38 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