Refresh your C++ skill Using function with 1D arrays 1. Create a global variable 1 dimensional array with COL = 5 2. Create a function to initialize the array • Put 1 in all columns 3. Call this function from main 4. Create a function to print the array in one line 5. Call this function from main

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 14RQ
icon
Related questions
Question
Refresh your
C++ skill
Using
function with
1D arrays
1. Create a global variable 1 dimensional
array with COL = 5
2. Create a function to initialize the array
• Put 1 in all columns
3. Call this function from main
4. Create a function to print the array in
one line
5. Call this function from main
Array 2D
3
1
1
1
Transcribed Image Text:Refresh your C++ skill Using function with 1D arrays 1. Create a global variable 1 dimensional array with COL = 5 2. Create a function to initialize the array • Put 1 in all columns 3. Call this function from main 4. Create a function to print the array in one line 5. Call this function from main Array 2D 3 1 1 1
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Array
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
  • SEE MORE 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