Prompt the user to enter a positive number

Assignment Help Basic Computer Science
Reference no: EM131721275

Make a program that does the following:  

* Declare an integer array of size 100. 

* Prompt the User to enter a positive number less than or equal to 100. 

* The User's input indicates the number of random numbers to generate and store into the array. The random numbers must be between -100 to 100, inclusive. 

* Print all the numbers generated on one line. 

* Make a summary of the numbers containing the following information: 

Count (Number of elements) 

Average 

Sum 

Maximum 

Minimum

Reference no: EM131721275

Questions Cloud

Discuss usermod command is used to change a linux user : Discuss a specific parameter you would used with the usermod and what you need to consider either
Provide requirements for securing each step of the software : Provide requirements for securing each step of software development process. Explain and give proper reasoning for each step in securing application software.
Commission''s recommendations to reorganize : Commission's recommendations to reorganize improved or did not improve the effectiveness of the intelligence community in protecting the nation from terrorist
Find an idea submission site for a company : Find an idea submission site for a company not mentioned in the feature. Describe how to submit an invention to the company.
Prompt the user to enter a positive number : * Declare an integer array of size 100. * Prompt the User to enter a positive number less than or equal to 100.
Discussion about the entering the us market from abroad : The external marketing environment is largely uncontrollable, marketers must always be aware of the many forces that may impact the business.
Analyze importance of various branches of security : Analyze the importance of understanding the various branches of security covered in Chapter 1 of Jacobs. Write a 2 page paper that discusses the topic above.
Briefly comment on how both sides handled the dispute : Goldie Blox is a toy company, launched in 2012, that introduces girls to the field of engineering. It was started by Debbie Sterling, an engineering student.
Production process : A company randomly selects 100 light bulbs every day for 40 days from its production process.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Activities in the systems development life cycle

Examine the activities in the Systems Development Life Cycle (SDLC). Select the activities that you believe to be the most critical for the success of a project that is developed using SDLC.

  Predict the microsoft office component

Submit all files and written responses at the same time as one (1) complete submission. Screenshot File Submission: You must submit the screenshot file(s) using the provided Assignment Submission Attach File function located in the Blackboard online ..

  Write a program to animate a circle bouncing around a window

Modify the face class from the previous problem to include a move method similar to other graphics objects. Using the move method, create a program that makes a face bounce around in a window (see Programming Exercise 17 from Chapter 7). Bonus: ha..

  Describe benefits of estimating risk using a monte carlo

Consider the risks and plans described by your classmates and make suggestions for other mitigation options.

  Canadian information processing society

Question 1: The members of the PEO Council are both elected and appointed. Who elects the members and who appoints the members? Question 2: What are the main duties of the Canadian Engineering Accreditation Board and the Canadian Information Proce..

  List five common examples of exceptions

Give several reasons why exception-handling techniques should not be used for conventional program control.

  Give the boolean equation for the problem

Develop a truth table that captures the desired circuit behavior of the problem and give the Boolean equation for the problem.

  Explaining pros and cons of coralcdn

Provide a summary of CoralCDN. Contrast its operation with that of Akamai. What the pros and cons of CoralCDN (as compared to Akamai)?

  Matter are present inside the container

A 50.0 g piece of CO2(s) (i.e. "dry ice") is sealed inside a0.250 L container held at 20°C. Based on the phase diagram of CO2(Figure 11.42 in the textbook), what state(s) of matter are present inside the container?

  Implement an adt that represents a bank account

Design and implement an ADT that represents a bank account. The data of the ADT should include the customer name, the account number, and the account balance.

  Going abroad with engineers

You supervise 12 engineers. Their formal training and work experience are very similar, so you move them around on different projects. Yesterday, your manager informed you that an overseas affiliate has requested four engineers to go abroad on ext..

  Flowchart and desk check for an algorithm

Flowchart and desk check for an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient. Note that the quotient calculation (first integer divided by second integer..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd