Write a program that reads n positive numbers from keyboard

Assignment Help Computer Engineering
Reference no: EM133095

Question

Write down a c++ program that reads N Positive numbers from keyboard, calculates and displays following-

1. Count of all numbers that are greater than 49.9 and less than 75.0. If no numbers greater than 49.9 and less than 75.0 are entered, o for the counter should be show

2. Sum of all numbers that are greater than 49.9. If no numbers greater than 49.9 are entered, o for the sum value should be show

3. Average of all numbers which are greater than 49.9. If no number greater than 49.9 is entered, o for all the average should show

4. Smallest number of all numbers entered in keyboard

5. Descending order of two largest numbers entered from the keyboard

6. value of P [where p=(largest number entered from the keyboard/100)*percentage; percentage=25]

Reference no: EM133095

Questions Cloud

Write down specification for the adt as a java interface : Write down specification for the ADT as a java interface
Produce a decision table : Produce a decision table
What is role of risk assessment : What is role of risk assessment
Explain contents of an initially empty avl tree : Explain contents of an initially empty AVL tree
Write a program that reads n positive numbers from keyboard : Write a program that reads N Positive numbers from keyboard
Suggest a fragmentation design of the account relation : Suggest a fragmentation design of the Account relation
Explain the design for the memory subsystem : Explain the design for the memory subsystem
Program to evaluate case statement : Program to evaluate case statement
What is the data rate : What is the data rate

Reviews

Write a Review

Computer Engineering Questions & Answers

  How to write a class named dayofyear that gets an integer

How to write a class named DayOfYear that gets an integer Day 2 would be January 2 Day 32 would be February 1 Day 365 would be December 31

  How to generate paper for pair of public or private rsa key

How to generate paper for a pair of public or private RSA keys? The high-class reporter for foreign affairs learned about asymmetric cryptography, and proposed to security team at the paper to generate for a pair of public or private RSA keys.

  How to use ms access and create a database

How to use MS Access and create a database

  Create a shadow on phrase html5 canvas

Create a shadow on phrase "HTML5 Canvas"

  Examine how computer forensics investigations pertain to law

Examine how computer forensics investigations pertain to law

  What is response time

What is response time

  Produce two random integer numbers between 1 and 200

Produce two random integer numbers between 1 and 200.

  How to create a database for music

How to create a database for music? Other entities will be Artist/Group - Attributes will be Name, Year Founded, Origin, Tones and Biography, Track - Attributes will be Number and User's Recommendation and finally Song - Attributes will be Name, ..

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  How to compare and evaluate speeds of dsl and cable modem

How to compare and evaluate speeds of DSL and cable modem Make a diagram of the DSL and Cable Modem connections to your ISP, cable organization, and telecom to your home router using Visio or its open source another software.

  How to produce a work breakdown structure

How to produce a Work Breakdown Structure. Ensure main WBS tasks headings are the 5 PMBOK® process areas.

  Risk assessment of ict system

Risk Assessment of ICT System and Developing Computer Incident Response System on WAMP platform

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