Which of the following statements displays a dialog box that prompts the user for the name of a city, and then assigns the user’s response to the strCity variable? Select one: a. InputBox (“Enter the city name”,”City”, strCity) b. strCity = InputBox (“Enter the city name”,,”City”) c. none of the choices d. InputBox (“Enter the city name”, strCity)

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter3: Coding With Variables, Named Constants, And Calculations
Section: Chapter Questions
Problem 19RQ: Which of the following statements declares a procedure-level variable that is removed from the...
icon
Related questions
Question

Which of the following statements displays a dialog box that prompts the user for the name of a city, and then assigns the user’s response to the strCity variable?

Select one:
a. InputBox (“Enter the city name”,”City”, strCity)
b. strCity = InputBox (“Enter the city name”,,”City”)
c. none of the choices
d. InputBox (“Enter the city name”, strCity)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT