1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Aliun [14]
3 years ago
12

1. Design pseudocode for a program that will permit a user to store exactly 75 numbers in an array. Create an array big enough t

o hold the numbers and store each number in the array as it's entered. Be sure to PROMPT the user for each number before it's entered. You do not need to initialize the array. HINTS: Make sure you use a named constant when you declare the array (the number inside the brackets should be a named constant that you declared before the array declaration.) Use a for loop (or while loop if you'd like) to get each number from the user. The module has an example of pseudocode very similar to this problem. You're free to use this pseudocode as you create your program. 2. Identify three advantages of arrays. For each advantage, write at least one complete sentence explaining why the advantage you listed is an advantage. More detail is better. You may use outside resources but be sure to CITE those resources using APA format.
Computers and Technology
1 answer:
Mashcka [7]3 years ago
6 0

Answer:

Question 1: The pseudocode is as follows:

int n = 70;

   int intArray[n];

   for(int i = 0; i< n; i++){

       print("Input "+(i+1)+": ")

       input intArray[i];

   }

Question 2: Advantages of array

  • Indexing in arrays in easy
  • It can be used to store multiple values of the same type
  • It can be used for 2 dimensional inputs

Explanation:

<u>Question 1</u>

This declares and initializes the length of the array

int n = 70;

This declares the array

   int intArray[n];

This iterates through the length of the array

   for(int i = 0; i< n; i++){

This prompts the user for inputs

       print("Input "+(i+1)+": ")

This gets input for each element of the array

       input intArray[i];

   }

<u>Question 2</u>

Indexing: Elements of the array can easily be accessed through the index of the element.

For instance, an element at index 2 of array intArray can be accessed using: intArray[2]

Multiple Values: This is illustrated in question 1 above where we used 1 array to collect input for 70 values.

2 dimensional inputs: Literally, this means that array can be used to represent matrices (that has rows and columns).

An illustration is:

intArray[2][2] = {[0,1],[3,5]}

<em>The above array has 2 rows, 2 columns and 4 elements in total.</em>

You might be interested in
Free Brainliest Here. i Also Have A Quiz for Brainliest So Check That Out To
AysviL [449]

Answer:nice

veru cool

Explanation:

7 0
3 years ago
Read 2 more answers
Consider ________ when designing for display on a mobile device. font size all of these contrast small screen size
Delvig [45]
To be honest...i really dont know 
6 0
3 years ago
Read 2 more answers
Which of the following Office Online apps is most effective for creating multimedia presentations?
DedPeter [7]

Answer:

Powerpoint Online

Explanation:

Powerpoint is used to create presentations.

8 0
3 years ago
Which MUD configuration is the most difficult to maintain
mihalych1998 [28]
This may be considered particularly appropriate since, due to the room-based nature of traditionalMUDs<span>, ranged combat is typically </span>difficult<span> to implement, resulting in </span>most MUDs<span> equipping characters mainly with close-combat weapons.</span>
6 0
3 years ago
Read 2 more answers
Equity is proportional ownership in a firm. Which of the following is synonymous with Equity?
Andreas93 [3]
<span>A. Certificate of License</span>
8 0
3 years ago
Other questions:
  • What is the most important difference between generic software product development and custom software development? What might t
    7·1 answer
  • The worst "review platform" (e.g. TripAdvisor, Zomato, Yelp) that can't be trusted?
    14·1 answer
  • Why, y did brainly just do that........or did it just happen to me
    12·2 answers
  • 2. How do cell phone users stay connected to the network as users move between cells?
    10·1 answer
  • How can presentation software be used in a
    10·2 answers
  • The alveolar walls and the pulmonary capillaries form the:
    5·1 answer
  • In terms of their eligibility for legal protection, how do ideas differ from song lyrics?
    15·2 answers
  • Match each item with a statement below.
    8·1 answer
  • Which tool can you use to display hardware utilization statistics that tell you about the operation of your computer?
    6·1 answer
  • A technician is troubleshooting a Windows computer and needs to stop the explorer.exe process.Multiple attempts to open Task Man
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!