Which of the following adds the number 20 to the value stored in the first row, second column of the decSales array?a. decSales(0, 1) += 20b. decSales(1, 2) = decSales(1, 2) + 20c. decSales(1, 2) += 20d. both b and c

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 20RQ
icon
Related questions
Question

Which of the following adds the number 20 to the value stored in the first row, second column of the decSales array?
a. decSales(0, 1) += 20
b. decSales(1, 2) = decSales(1, 2) + 20
c. decSales(1, 2) += 20
d. both b and c

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data Binding
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT