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

Previous Q& A

  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

  Which of following statements is true

Which of following statements is true

  How to generate a hub-and-spoke network

How to generate a hub-and-spoke network

  What is steady-state cpi

What is steady-state CPI

  Write down a program on visual basic format

Write down a program on visual basic format

  Design a chart that showing input, output, and processing

Design a  chart that showing input, output, and processing

  Write a non-recursive version of the process fibonacci

Write a non-recursive version of the process Fibonacci

Reviews

Write a Review

 

Similar Q& A

  How to write code for selection sort, insertion sort

How to write code for selection sort, insertion sort. Using your performance of selection, bubble and insertion sort, add a counter in an appropriate place so as to measure the runtime of your code for example this capacity be a counter to track ..

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Examine the importance and purpose of of n-tier systems

Examine the importance and purpose of of n-tier systems

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Speed routing protocol

Following question is related to SPEED routing protocol-Multiple speeds are computed in MAC layer. The forwarder with highest speed is selected on MAC layer feedback. This selection could not produce a shortest path.

  What are the trends of data warehousing and data mining

What are the trends of data warehousing and data mining

  Security vulnerability

What is the security vulnerability of this solution

  Accessing and reading a mouse

Accessing and reading a mouse

  Write proper sequence in design of a video rental database

Write proper sequence in design of a video rental database

  Generate a work breakdown structure code

Generate a Work Breakdown Structure Code

  Write a program that mimics a flop-turn-river of poker game

Write down a program that mimics a flop-turn-river of a poker game. I must have three buttons titled Deal, Shuffle and Start Over.

  Identify connectivity of each relationship

Identify connectivity of each relationship

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