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
larisa86 [58]
2 years ago
10

Write a program that uses an initializer list to store the following set of numbers in an array named nums. Then, print the arra

y. 14 36 31 -2 11 -6 Sample Run [14, 36, 31, -2, 11, -6] (In edhesive please)

Computers and Technology
2 answers:
dem82 [27]2 years ago
5 0

Answer:

nums=[14, 36, 31, -2, 11, -6]

print(nums)

Explanation:

I got a 100%

rodikova [14]2 years ago
4 0

Answer:

In C++:

#include <iostream>

using namespace std;

int main(){

    int nums[6] = {14, 36, 31, -2, 11, -6};

    cout<<"[";

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

    cout<<nums[i];

    if(i != 5){cout<<", ";}

    }

    cout<<"]";

   return 0;

}

Explanation:

This initializes the array

    int nums[6] = {14, 36, 31, -2, 11, -6};

This prints the opening square bracket

    cout<<"[";

This iterates through the array

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

This prints individual elements of the array

    cout<<nums[i];

Until the last index, this line prints comma after individual array elements

<em>     if(i != 5){cout<<", ";}</em>

    }

This prints the closing square bracket

    cout<<"]";

You might be interested in
Low-end CRM systems are designed for companies like Boeing because they only have a few, large customers.
Arlecino [84]

Answer: False

Explanation:Low-end CRM system are specifically designed for those companies which are small scale but can connect to many businesses or organization at a time. These are the customer relationship management system that happens to analyze the functioning of the business with high count of small companies with appropriate amount of customers.Thus, the statement given is false.

6 0
3 years ago
How is ict integrated into marketing<br>​
Aleks04 [339]

Answer: The utilize of great ICT moreover moves forward client administrations and client request. From database advancement, site plan to showcase investigate, interpretation program, coordinate mail showcasing and preparing, the application of ICT is basic for a financial victory. The web is one of the ways in which media companies / businesses publicize.

Explanation:

5 0
1 year ago
8. What is the correct jQuery code to set the background color of all p elements to red?
pickupchik [31]
The correct anwers is the letter b.)
3 0
3 years ago
Two dimensional area with a recognizable boundary is called what?
vichka [17]
A two dimensional area with recognizable boundary is called a shape
3 0
2 years ago
What is the statement terminator for PHP?
Colt1911 [192]

Answer:

?>

Explanation:

The statement terminator for PHP language is ?>

PHP i.e. Hypertext Preprocessor.

It is widely used open source general purpose scripting language that is especially suited for web development and can be embedded into HTML.

PHP opening and closing tags are <? and ?> respectively.

hope you got the point any question can be asked in comments will be answered duly.

5 0
3 years ago
Other questions:
  • What is the outlined area called?
    6·1 answer
  • What are some options available when using the Replace feature?
    13·1 answer
  • "the most common way to access the internet is through ________."
    5·1 answer
  • You can apply several different worksheet themes from which tab?
    10·2 answers
  • What major criteria must a product or process meet in order to be considered emerging technology?
    7·1 answer
  • The _____ feature will mark all changes made to a document for others to review at a later time.
    13·1 answer
  • 1. How are computers helpful
    11·1 answer
  • Your task is to identify three or more ways that big data is being collected on a regular basis, including one data collection m
    9·1 answer
  • 5. The command to add new layout to the slide is present in<br>tab.​
    15·1 answer
  • Josh wrote the following e-mail to his co-worker. PLEASE HELP QUWICK
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!