Which of the following headers indicates that the procedure returns a Decimal number?a. Private Function Calc() As Decimalb. Private Sub Calc() As Decimalc. Private Function Calc(Decimal)d. both a and b
Which of the following headers indicates that the procedure returns a Decimal number?a. Private Function Calc() As Decimalb. Private Sub Calc() As Decimalc. Private Function Calc(Decimal)d. both a and b
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 2MQ2
Related questions
Question
Which of the following headers indicates that the procedure returns a Decimal number?
a. Private Function Calc() As Decimal
b. Private Sub Calc() As Decimal
c. Private Function Calc(Decimal)
d. both a and b
Expert Solution
Step 1
Header to indicate a procedure returning a decimal number
- A procedure is a set of coded instructions that tells computer how to run a program.
- It is also known as subroutine, subprogram or function.
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,