UpperAnd Lower.vb* X VB Miscellaneous Files 1 23 2 4 5 6 7 8 9 10 HU @1 11 12 13 14 15 16 17 18 19 20 21 22 23 211 UpperAnd Lower Main UpperAnd Lower.vb This program converts a string to lowercase and uppercase. 'Input: Interactive Output: Uppercase and lowercase versions of the user-entered string Module UpperAnd Lower 8 Sub Main() 0 1 Dim Sample As String = "Hello Professor" Dim Result As String Sample = InputBox$("Enter a string or quit when you are done.") Do While Sample <> "quit" Call LCase() function here and print the result System.Console.WriteLine("Uppercase:" & Sample) Result = LCase (Sample) System.Console.WriteLine("Lowercase: " & Result) 'Call UCase() function here and print the result added System.Console.WriteLine("Uppercase: " & Result) Sample = InputBox$("Enter a string or quit when you are done.") Loop End Sub * End of Main() procedure End Module 'End of UpperAnd Lower module

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Hello,

I need help I may be over thinking it, but I keep getting a error and I don't know what to do. Please help

Lab 9-6: Using Visual Basic's Built-in Functions
in this lab, you complete a partially written Visual Basic program that includes
functions that convert Strings to all uppercase or all lowercase. The program p
user to enter any Sering. To end the program, the user can enter "quit For
entered, call the built-in functions (Case) and uCase. The
String variable or constant when it calls these functions. Both of these functies
e program should
x String with the String changed to uppercase or lowercase. Here is an exa
Die Sample As String = "This is a String."
Die Result As String
Result-Case (Sample)
Result- UCase (Sample)
The source code file provided for this lab includes the necessary variable declarations and the
necessary input and output statements Comments are included in the file to help you t
the remainder of the program
4
Open the source code file named Opperandlower.vb using Notepad or the text editur
of your choice.
Wrae the Visual Basic statements as indicated by the comments.
Save the murce code füe in a directory of your choice, and then make that directory
your working directory
Comple the source code file UpperAndLower ve
Sorule the program.
Transcribed Image Text:Lab 9-6: Using Visual Basic's Built-in Functions in this lab, you complete a partially written Visual Basic program that includes functions that convert Strings to all uppercase or all lowercase. The program p user to enter any Sering. To end the program, the user can enter "quit For entered, call the built-in functions (Case) and uCase. The String variable or constant when it calls these functions. Both of these functies e program should x String with the String changed to uppercase or lowercase. Here is an exa Die Sample As String = "This is a String." Die Result As String Result-Case (Sample) Result- UCase (Sample) The source code file provided for this lab includes the necessary variable declarations and the necessary input and output statements Comments are included in the file to help you t the remainder of the program 4 Open the source code file named Opperandlower.vb using Notepad or the text editur of your choice. Wrae the Visual Basic statements as indicated by the comments. Save the murce code füe in a directory of your choice, and then make that directory your working directory Comple the source code file UpperAndLower ve Sorule the program.
UpperAndLower.vb* ⇒ x
VB Miscellaneous Files
1
FENT
2
3
4
5
7
00 O
8
9
10
11
12
13
14
15
16
17
18
19
20
21
HO
22
23
24
25
00
UpperAnd Lower.vb
Input: Interactive
¹ Output: Uppercase and lowercase versions of the user-entered string
Module UpperAnd Lower
Sub Main()
I
UpperAnd Lower
Main
This program converts a string to lowercase and uppercase.
Dim Sample As String = "Hello Professor"
Dim Result As String
Sample = InputBox$("Enter a string or quit when you are done.")
Do While Sample <> "quit"
Call LCase() function here and print the result
System.Console.WriteLine("Uppercase:" & Sample)
Result = LCase (Sample)
Loop
End Sub
System.Console.WriteLine("Lowercase: " & Result)
'Call UCase() function here and print the result
added
System.Console.WriteLine("Uppercase: " & Result)
Sample = InputBox$("Enter a string or quit when you are done.")
¹ End of Main() procedure
End Module End of UpperAnd Lower module
+
0
|
Transcribed Image Text:UpperAndLower.vb* ⇒ x VB Miscellaneous Files 1 FENT 2 3 4 5 7 00 O 8 9 10 11 12 13 14 15 16 17 18 19 20 21 HO 22 23 24 25 00 UpperAnd Lower.vb Input: Interactive ¹ Output: Uppercase and lowercase versions of the user-entered string Module UpperAnd Lower Sub Main() I UpperAnd Lower Main This program converts a string to lowercase and uppercase. Dim Sample As String = "Hello Professor" Dim Result As String Sample = InputBox$("Enter a string or quit when you are done.") Do While Sample <> "quit" Call LCase() function here and print the result System.Console.WriteLine("Uppercase:" & Sample) Result = LCase (Sample) Loop End Sub System.Console.WriteLine("Lowercase: " & Result) 'Call UCase() function here and print the result added System.Console.WriteLine("Uppercase: " & Result) Sample = InputBox$("Enter a string or quit when you are done.") ¹ End of Main() procedure End Module End of UpperAnd Lower module + 0 |
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY