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
Lelechka [254]
4 years ago
7

Write a statement to declare and initialize an array of int named denominations that contains exactly six elements. Your declara

tion statement should initialize the elements of the array to the following values: 1, 5, 10, 25, 50, 100. (The value 1 goes into the first element; the value 100 to the last.)
Computers and Technology
1 answer:
lawyer [7]4 years ago
7 0

Answer:

// here is statement in C++ to declare and initialize an array.

int denominations[]={1, 5, 10, 25, 50, 100};

Explanation:

In C++, an array can be declare and initialize in a single statement.Syntax to declare and initialize an array in C++ is type <type> <name>[]={val1,vale2...valn}. Here first literal is type of array and second is name of the array.And in the {} braces value of the array.In the above statement type is integer and name of the array is "denominations" and the values are 1,5,10,25,50,100.

//here is implementation in C++.

// include headers

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// declare and initialize array

int denominations[]={1, 5, 10, 25, 50, 100};

return 0;

}

You might be interested in
A network technician is planning to update the firmware on a router on the network. The technician has downloaded the file from
zhenek [66]

Answer: B. Perform a hash on the file for comparison with the vendor’s hash.

Explanation:

Before installing the firmware update, the step that the technician should perform to ensure file integrity is to perform a hash on the file for comparison with the vendor’s hash.

Hashing refers to the algorithm that is used for the calculation of a string value from a file. Hashes are helpful in the identification of a threat on a machine and when a user wants to query the network for the existence of a certain file.

5 0
3 years ago
If the audio has no sound:
Mice21 [21]

Answer:

B

Explanation:

the file to be transcribes should have an audio,it maybe a scam,so you have to file a report.

6 0
3 years ago
Which topology connects all the computers in a circular pattern
Nimfa-mama [501]
You have to give us the answer options kiddo!
5 0
3 years ago
Read 2 more answers
In order to paint a wall that has a number of windows, we want to know its area. Each window has a size of 2 ft by 3 ft. Write a
Eva8 [605]

Using the knowledge in computational language in JAVA it is possible to write a code that write a program that reads the width and height of the wall and the number of windows, using the following prompts

<h3>Writting the code:</h3>

<em>import java.util.Scanner;</em>

<em>public class WallArea {</em>

<em>    public static void main(String[] args) {</em>

<em>        Scanner sc = new Scanner(System.in);</em>

<em>        final int areaOfWindows = 6;</em>

<em>        System.out.print("Wall width: ");</em>

<em>        double width = sc.nextDouble();</em>

<em>        System.out.print("Wall height: ");</em>

<em>        double height = sc.nextDouble();</em>

<em>        System.out.print("Number of windows: ");</em>

<em>        double numberOfWindows = sc.nextDouble();</em>

<em>        double area = (width * height) - (numberOfWindows * areaOfWindows);</em>

<em>        System.out.println("Area: " + area);</em>

<em>    }</em>

<em>}</em>

See more about JAVA at brainly.com/question/12975450

#SPJ1

4 0
2 years ago
List the seven steps used by a laser printer to print a page
Schach [20]
T<span>he seven steps used by a laser printer to print a page are :
</span>1)  Processing, this is where he computer sends the data to the printer.
2)  Charging, where <span>the wire (primary corona) negatively charges the
     photoconductive drum.</span>
3)  Exposing, where <span>the laser scans the image to the drum. Anywhere the
     laser touches the drum causes the electrical charge to drain off.</span>
4)  Developing, where <span>negatively charged toner particles are allowed to
     attach to the painted area of the drum; since the negative charge has
     been drained off these areas</span>
5) Transferring, where the transfer corona wire charges the paper with a
     positive charge from behind. The negatively charged toner jumps to the
     positive paper, according to the image on the drum. <span>A Static Charge
     eliminator then removes any residual charge.
</span>6) Fusing, where t<span>he toner particles attached to the paper are fused or
     melted to the paper, because of the heated drum.</span>
7) Cleaning, where t<span>he drum is cleaned of excessive toner and electrical
    charges.</span>
7 0
3 years ago
Read 2 more answers
Other questions:
  • Besides technical skill, what is the most important factor for staying employed and being offered promotions?
    6·2 answers
  • A drop-down menu must be contained by
    5·1 answer
  • Thanks to ____ files, a website can recognize you and cater to your individual tastes each time you visit.
    12·1 answer
  • What are two names for the database that holds digital signatures provided by os manufacturers, such as microsoft and red hat?
    6·1 answer
  • Which of the following cools the air in a household refrigerator?
    13·2 answers
  • ProcessName2
    9·1 answer
  • FOR DIGITAL DESIGN/ PHOTOGRAPHY
    5·2 answers
  • What is the difference between mutex lock and race condition​
    6·1 answer
  • Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000.
    11·1 answer
  • a 2x4 line decoder with enable is implemented using nand gate only. how many nand gate is needed to construct this line decoder?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!