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
The definition of an "analog device" is that it is a type of _____.
sveta [45]
ITS C hope it helps goo luck!
5 0
3 years ago
Explain the principles of computer applications ​
9966 [12]

Answer:

The nature of computers and code, what they can and cannot do.

How computer hardware works: chips, cpu, memory, disk.

Necessary jargon: bits, bytes, megabytes, gigabytes.

How software works: what is a program, what is "running"

How digital images work.

Computer code: loops and logic.

Big ideas: abstraction, logic, bugs.

3 0
3 years ago
What is a risk or an effect of software piracy?
Butoxors [25]
Piracy is a term used to describe the practice of obtaining or using software in a manner that is illegal or not in keeping with the terms under which the software was distributed. This can range from purchasing or copying the software, to using the software without a license, to selling, renting, or otherwise distributing it without authorization.<span>The Business Software Alliance estimated the losses to software companies in 2005 as a result of piracy at over $30 billion.</span>
5 0
3 years ago
Read 2 more answers
I have a message for anyone reading this
uysha [10]

Answer:zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Explanation:

4 0
3 years ago
A _____ character is a space, a tab, or a new line.
babunello [35]
Whitespace

--------------------------------------------
5 0
3 years ago
Other questions:
  • Identify the function for the following computer part: Printer Question 23 options: Input
    6·1 answer
  • In what ways are Outlook notes useful for personal or professional use? Check all that apply.
    13·2 answers
  • The invention of the transistor was important to the development of computers because
    14·1 answer
  • 100 points please hurry!!!
    14·2 answers
  • Which of the following might cause a shift from PPF1 to PPF2? I. A new source of high quality denim fabric. II. A new lighter me
    12·1 answer
  • 8.7 Code Practice: Question 2 edhesive
    14·2 answers
  • What factors do network consultants consider when determining the network needs of a business? Use the space provided below to a
    6·1 answer
  • Write a function that takes a list value as an argument and returns a string with all the items separated by a comma and a space
    13·1 answer
  • Software that converts program written in other language into machine language​
    11·1 answer
  • In cell N2, enter a formula using the IF function and structured references as follows to determine which work tier Kay Colbert
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!