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
Enter just the letter of the correct answer
astraxan [27]

purchase a router from the aisle

8 0
3 years ago
Cover page styles in the cover page gallery match the preformatted styles in word, making it easier to create a coherent style b
zvonat [6]
The correct answer is, 'C. Header'.
3 0
3 years ago
How has technology influenced photography? Would an image like this have been possible 100 years ago?
Anettt [7]

Answer:

Digital technology has changed the role of photography in society in many ways. Technology has advanced so much that photographs can be captured anywhere and anytime. Photos can be now sent to another person through text messages, shared online on emails, internal hard drives, and save onto usb's and memory cards.

Explanation:

you don't have a picture

4 0
2 years ago
Write a program that creates an array called temperatures and then add five temperatures input from the keyboard. Then, print th
levacccp [35]

Answer:

x=[]

i=0

for i in range(0,5):

   x.append(input("Enter the temperature"))

print(x)

   

Explanation:

The above is the required program in python. Here, we have used a list and added to it five temperatures, and then printed it out, as mentioned. Its the plus point of python, that we are not required to give the dimensions of the list. Not all programming languages provide this facility. Remember in Java we are required to make use of the ArrayList and not array fo dynamic output.

8 0
3 years ago
Read 2 more answers
Information science focuses on: a. Networking between systems b. Individual and universal systems c. Organization and efficiency
amm1812

Answer: Option(d) is correct

Explanation:

Information science is defined as as the science that is based on collection, storage, processing and retrieving of information and data.It related with the technology, people and data to connect them with each other .Management, control and facilities are provided by information science.

  • Other options are incorrect because system network formation, personal and universal system and companies are not the factors considered for the information science .
  • Thus, the correct option is option(d).
4 0
2 years ago
Other questions:
  • How do media and networks interact
    11·1 answer
  • What component can be used for user input or display of output?
    8·1 answer
  • Sets of keywords and symbols that help refine internet search requests are called _____. boolean operators microsoft operators a
    8·1 answer
  • What is the specifications, number of sales, positive and negative points and a few popular games of the first PlayStation?
    13·1 answer
  • In order to organize your work effectively on the computer, where is the best place to save it?
    14·2 answers
  • Java public class Odds { public static void main(String[] args) { printOdds(3); printOdds(17/2); int x = 25; printOdds(37 – x +1
    12·1 answer
  • To all paladins players out there!!!!!
    14·1 answer
  • You will use the Word application to design, develop, and create a business letter to potential clients of your new business. Th
    15·1 answer
  • Select statements about Multiprocessors that are FALSE. a. Asymmetric multiprocessors are a popular form of tightly coupled arch
    7·1 answer
  • IDENTIFYING VERBS THAT AGREE IN NUMBER WITH THEIR SUBJECTS For each of the following sentences, write the correct form of the ve
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!