Question
CIST 1305 Unit 05 Drop Box Assignment The Assignment ONLY ONE FILE may be turned in for the assignment. If you make a mistake and
CIST 1305 Unit 05 Drop Box Assignment The Assignment ONLY ONE FILE may be turned in for the assignment. If you make a mistake and need to turn in your work again, you may do so. I will only grade the latest file you turn in. The older ones will be ignored. For instruction on How To do assignments and create the file see the "How To Do Homework" document under the "Start Here" button. You will create a program with two methods, the main() method of course and another method called printArray(). The main method will define an array of 5 elements. A loop will be used to prompt the user to enter 5 numeric values which will go into the 5 array elements. The main() method will then call the printArray() method passing the array by reference, and the array length by value. The printArray() method will then print the contents of the array, 0th element first and return. The method call might look something like this: printArray(myArray, 5) In Visual Logic be sure to use console I/O or you will lose points. Here is one example of what the program I/O might look like: Please enter 5 number values: Value 1: 6 Value 2: 5 Value 3: 4 Value 4: 4 Value 5: 3 Here is the array contents: Array(0) = 6 Array(1) = 5 Array(2) = 4 Array(3) = 4 Array(4) = 3 Hint: In Visual Logic you create a method (Visual Logic calls them "procedures") by using the "procedures" menu item. Click to drop it down and you will find a list of all existing procedures in the program plus the "Create new procedure..." command. Each procedure will be its own flow chart. You can switch between the flowcharts by using the "Procedures" menu and selecting the name of the procedure you wish to view/edit.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started