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
seraphim [82]
3 years ago
10

Please provide 10 unsigned decimal integers.

Computers and Technology
1 answer:
svlad2 [7]3 years ago
4 0

Answer:

// Program is written in C++

// Comments are used for explanatory purpose

// Program starts here

#include<iostream>

using namespace std;

int main()

{

// Declare variables

int digits [10]; int num;

int sum = 0; int average;

for(int I = 0; I<10; I++)

{

cout<<"Please enter an unsigned number: ";

input: cin>>num;

if(num>4,294,967,296 || num < 0)

{

cout<<"You did not enter an unsigned number or your number was too big.";

cout<<'\n'<<"Please try again: ";

goto input;

}

digits[I] = num;

// Calculate Sum

sum+=digits[I];

}

// Output numbers

cout<<"You entered the following numbers"<<'\n';

for(int j = 0;j<10;j++)

cout<<digits[j]<<" ";

// Calculating Average

average = sum/10;

// Output Sum

cout<<"The sum of these numbers is: "<<sum;

// Output Average

cout<<"The average is: "<<average;

return 0;

}

Explanation:

You might be interested in
A concave lens is also called a diverging lens. please select the best answer from the choices provided t f
nlexa [21]

The answer is true because a concave lens is also called a diverging lens.


5 0
3 years ago
A _______ file is a type of vector graphics file created specifically for Windows.
Tems11 [23]
A .wmf <span>file is a type of vector graphics file created specifically for Windows.</span>
7 0
4 years ago
Read 2 more answers
Gloria is adding footers to a PowerPoint template for students to use in a literature class. Each student must choose an author
sleet_krkn [62]

Answer:

Its D

Explanation:

On edg

4 0
4 years ago
Read 2 more answers
What is a typical grace period for a credit card...
Schach [20]
It is 20 to 25 days so c is correct
6 0
3 years ago
Read 2 more answers
The eight great ideas in computer architecture are similar ideas from other fields. Match the eight ideas from computer architec
andrew11 [14]

Answer:

following are the answer to this question:

In option a, "Performance via Pipelining".

In option b, "Performance via Parallelism".

In option c, "Performance via Prediction".

In option d, "Make the Common Case Fast".

In option e, "Hierarchy of Memories".

In option f,  "Design for Moore’s Law".

In option g, "Dependability via Redundancy".

In option h, "Use Abstraction to Simplify Design".

Explanation:

Automotive assembly lines are Efficiency through pipelines.

The cable bridge suspension is used to Perform by Parallelism.  

The aircraft and navigation systems are designed to integrate and use through simulation wind information.  

The fast and the common Case is used to express lifts in the building.  

The Memory hierarchy library is used for the reserve desk.  

Extending the port area of a CMOS transistor to reduce Moore's Law Design for Moore's legislation switching sequence.

Increasing energy generation from the latest reactor technology dependability through redundancy. It enables the addition of electrical aircraft slingshots, which are electrically powered as opposed to the earlier steam models.  

It Constructs cars that depend on existing sensor systems, like automatic braking devices or clever speed control systems, that already have installed their monitoring system throughout the base vehicle by Using abstraction to ease the model.

7 0
4 years ago
Other questions:
  • Pressing the Ctrl+Home keys moves the insertion point to the
    5·1 answer
  • An insulated rigid tank is divided into two equal parts by a partition. Initially, one part contains 4 kg of an ideal gas at 850
    8·1 answer
  • 18. Which type of briefing is delivered to individual resources or crews who are assigned to operational tasks and/or work at or
    14·1 answer
  • Describe one type of technology that is useful in producing images from space.
    9·1 answer
  • How do i build a supercomputer.?
    11·1 answer
  • What factors should you consider when buying a hard drive?
    8·1 answer
  • . what action does the following a default operator perform? int a, b, c; a = b + c;
    14·1 answer
  • Any part of the computer that you plug into the CPU like a phone, tablet, headphones etc. are called
    5·1 answer
  • Why are GUI operating system more popular than CUI operating system these days?​
    15·1 answer
  • in the topology configuration, hosts are connected to each other through a central controller which assumes all responsibility f
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!