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 create program that performs arithmetic function

How to create program that performs arithmetic function Prompt a user for values for the variables. Pass both variables to methods named sum() and difference().

  Software engineering and microprocessor systems

Software is required for a simple house burglar alarm system.

  What are the reasons of project failure

Make sure to contain how and why project was initiated, what setting up was done, how plan went wrong and what was done to solve the trouble. What are the reasons of project failure

  What will be the exercise ratio of men and women

What will be the exercise ratio of men and women? Results indicated that women averaged 2 hours per week and men averaged 1.25 hour per week.

  Declare two variables of type course

Declare two variables of type course.

  What will be the list assumptions for the scope of project

What will be the list assumptions for the scope of project? Give detailed and measurable non functional requirements.

  Develop a checkout lane simulation

Develop a checkout lane simulation that can be used to determine the optimal number of lanes that Cougar Mart should have open.

  Java program that asks the user to enter two numbers x and b

Java program that asks the user to enter two numbers x and b.

  Write program that generates casual number between 1 and 100

Write program that generates casual number between 1 and 100?

  Program on strings s1 and s2

Program on strings s1 and s2.

  Which loop arrangement be best for accessing an array

Which loop arrangement be best for accessing an array.

  Prove correctness for following

Prove correctness for following

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