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
Stolb23 [73]
2 years ago
8

Array Basics pls help

World Languages
1 answer:
OlgaM077 [116]2 years ago
4 0

The array to create a value that contains 5 numbers is: int a [] = new int[5];

<h3>What is an Array?</h3>

This refers to the collection of similar data elements that are stored in a particular memory location.

Hence, we can see that using a for loop to print out all the values of the array, separated by a comma is:

#include<iostream>

#include<iomanip>

using namespace std;

int main()

{

int arr[5];

for(int i=0;i<5;i++)

{

cin>>arr[i];

}

cout<<" your Entered number are:"<<endl;

for(int i=0;i<5;i++)

{

cout<<arr[i]<<endl;

}

}

Read more about arrays here:

brainly.com/question/940636

#SPJ1

You might be interested in
Which verb correctly completes this sentence?<br><br> Ayer ________ mucho sol en mi ciudad.
seraphim [82]
What are the choices of verbs?
8 0
3 years ago
Wanna have a comment convo?
musickatia [10]
Sure thing.................
4 0
3 years ago
Why was Zlata was surprised to find that she was famous
Anvisha [2.4K]

Answer:

Is a work

Explanation:

This is world bro,sorry

8 0
4 years ago
Read 2 more answers
Can you please translate " the pizza is on the table " in Japanese
docker41 [41]

Answer: テーブルの上にピザがある

Explanation:頑張って!you can do this:)

4 0
3 years ago
Com as interferências de fatores como a economia, política, questões sociais e ambientais e tecnologia, o gestor precisa avaliar
Alex777 [14]

Clear rendering reads;

With the interference of factors such as the economy, politics, social and environmental issues and technology, the manager needs to evaluate the scenario to establish strategies. In this sense, the manager must perform the ________________, which is the ___________________ of the four administrative functions. This function, evaluates the scenario, makes a diagnosis and helps the manager to establish goals to decide the best way to reach them. The words that correctly fill the gap are:

Answer:

Planning function, first

Explanation:

Remember, the four main administrative functions of a manger are:

- Planning

- Organizing

- Directing

- Controling

So in this situation we would expect the manager to first plan strategies in advance that would enable the company strife through the environmental issues that may affect it.

3 0
4 years ago
Other questions:
  • अनुनानसक र्ुि सही नवकल्प चुननए –(1)(क)काँ गाल(ख)गाोंव(ग)आाँगन (घ)होंसमुख (घ ) ‘सोंक्रमण’शब्दमें ...........उपसगय है|-सही नवकल्प
    9·2 answers
  • Where are mimes found in the city of New Orleans
    15·1 answer
  • When did Willy jump off of the bridesmaids
    5·1 answer
  • Diga gírias de gaúchos
    6·2 answers
  • "आस्तीन का सांप" मुहावरे का अर्थ बताए ।<br>Dhanyavad _/\_​
    13·2 answers
  • "Pensa só que há 45 bilhões de anos a terra era uma nuvem de poeira..." Sobre a frase, ela está em ordem inversa ou não?
    14·1 answer
  • Which words BEST complete the sentence below?
    11·2 answers
  • American sign language (ALS):
    14·1 answer
  • MY CRUSH SAYS 'i like you'' WHAT SHOULD I DO?
    9·2 answers
  • What is meaning of red and black <br>taekwondo belt​ top the picture ....
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!