# Input a list of positive numbers, terminated by 0

Programming Assignment# 3 Program #1 (RAPTOR & JAVA) Using RAPTOR for Arrays (Chapter 6) Creating arrays in RAPTOR is a little different from the way the textbook explains them. The textbook uses 0 as the first index of an array. In other words, the first element of an array named VenitItems is VenitItems[0]. The second element is VenitItems[1], the third element is VenitItems [2], and so on. This is the way most programming languages – like C++ and Java – create arrays. If you want to fill an array with 5 elements, using a loop, and using the textbook pseudocode, you would set a counter equal to 0 and have the loop go around until the counter reached 4. Count them yourself – when the counter is 0, that’s the first loop, when the counter is 1, that’s the second loop, when the counter is 2, that’s the third loop, when the counter is 3, that’s the fourth loop, and when the counter is 4, that’s your fifth loop. If you wanted to fill the VenitItems array with the numbers 2, 4, 8, 16, and 32 you would write: Set J = 2 For (K = 0; K<=4; K++) Set VenitItems[K] = J J = J * 2 End For However, RAPTOR arrays begin with index 1. In other words, the first element of an array named RaptorItems is RaptorItems[1]. The second element of this array is RaptorItems[2]. So this changes the way you would write the pseudocode. If you wanted to fill the RaptorItems array with the numbers 2, 4, 8, 16, and 32, you would now write: Set J = 2 For (K = 1; K<=5; K++) Set RaptorItems[K] = J J = J * 2 End For You will have to make changes in the pseudocode you create for textbook exercises if you want your programs to work in RAPTOR. Just be aware of this very important difference!
Programming Assignment# 3 Program #1 Page 2
PROGRAMMING PROBLEM Input a list of positive numbers, terminated by 0, into an array Numbers. Then display the array and the largest and smallest number in it. Creating arrays in RAPTOR is a little different from the way the textbook explains them. The textbook uses 0 as the first index of an array. In other words, the first element of an array named VenitItems is VenitItems[0]. The second element is VenitItems[1], the third element is VenitItems [2], and so on. This is the way most programming languages – like the JAVA program attached to your homework. Use a For-Next loop to fill an array with 5 elements and set a counter equal to 0 and have the loop go around until the counter reached 4. Count them yourself – when the counter is 0, that’s the first iteration, when the counter is 1, that’s the second iteration, when the counter is 2, that’s the third iteration, when the counter is 3, that’s the fourth iteration, and when the counter is 4, that’s your fifth iteration. If you wanted to fill the VenitItems array with the numbers 2, 4, 8, 16, and 32 you would write: Set J = 2 For (K = 0; K<=4; K++) Set VenitItems[K] = J J = J * 2 End For However, RAPTOR arrays begin with index 1. In other words, the first element of an array named RaptorItems is RaptorItems[1]. The second element of this array is RaptorItems[2]. So this changes the way you would write the pseudocode. If you wanted to fill the RaptorItems array with the numbers 2, 4, 8, 16, and 32, you would now write: Set J = 2 For (K = 1; K<=5; K++) Set RaptorItems[K] = J J = J * 2 End For You will have to make changes in the Pseudocode you create for textbook exercises if you want your programs to work in RAPTOR. Just be aware of this very important difference!
Programming Assignment# 3 Program #1 Page 3
Input a list of positive numbers, terminated by 0, into an array Numbers. Then display the array and the largest and smallest number in it.

Calculate the price
Pages (550 words)
\$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Australia Assessments
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
English 101
She did an excellent job on my revision
Customer 464103, April 24th, 2023
Political science
Despite time constraints, the paper is well-structured and visually plenty as required.
Customer 453367, April 5th, 2022
Psychology
Good journal.
Customer 459947, May 10th, 2022
Blends well with the target website's affairs.
Customer 452441, June 22nd, 2022
Food & Nutrition
Work excellently done Looking forward to working with you again.
Customer 463463, November 4th, 2022
Good work.
Customer 463107, June 27th, 2022
Education
Good work
Customer 463647, December 15th, 2022
Other
The writer did an incredible job on the ppt presentation this week. I am disappointed with support for the lack of communication between me and the writer which caused the paper to be late. Overall, the ppt presentation was done and the writer did a phenomenal job.
Customer 452455, February 9th, 2023
Quality work. Looking forward to your future contributions.
Customer 463467, December 2nd, 2022
Accounting
the first time around paper was very poor and plagiarized according to grammaly with the help of online support it was reassigned and improved greatly
Customer 453819, February 20th, 2020
English 101
Good job.
Customer 462899, April 26th, 2022
Military
good job
Customer 456821, October 8th, 2022
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend