Write a c program that reads n positive numbers from the

Assignment Help C/C++ Programming
Reference no: EM13369248

Write a C++ program that reads N positive numbers from the keyboard, calculates and displays the following information.

a. Count of all numbers which are greater than 49.9 and less than 75.0. If no numbers greater than 49.9 and less than 75.0 are entered, 0 for the count value should be displayed.

b. Sum of all numbers which are greater than 49.9. If no numbers greater than 49.9 are entered, 0 for the sum value should be displayed.

c. Average of all numbers which are greater than 49.9. If no numbers greater than 49.9 are entered, 0 for the average value should be displayed.

d. Smallest number of all numbers entered from the keyboard. e. Descending order of two largest numbers entered from the keyboard. f. Value of P [where P = (Largest number entered from the keyboard/100)*Percentage; Percentage=25].

Reference no: EM13369248

Questions Cloud

Task 1 when writing your scholarly paper please note the : task 1 when writing your scholarly paper please note the following guidelinesselect a topic that interests you and is
Elasticity-a the price of good x goes up by 275 the : elasticity-a the price of good x goes up by 2.75 the quantity demanded of good y goes from 10500 units to 25000. what
Q1 you have an opportunity to invest in a new plant the : q1. you have an opportunity to invest in a new plant. the fixed costs are 100000 per year. the marginal cost of
Consider the market for minivans for each of the events : consider the market for minivans. for each of the events listed here identify which of the determinants of demand or
Write a c program that reads n positive numbers from the : write a c program that reads n positive numbers from the keyboard calculates and displays the following information.a.
Transpower is asking for anyone with ideas that could delay : transpower is asking for anyone with ideas that could delay the need for new power lines into auckland to come
Need assistance on how to write a good report on named : need assistance on how to write a good report on named comparison of voice and ear biometrics as a measure to passport
Prepare a theme board - the theme board should have between : prepare a theme board - the theme board should have between 10 minimum and 12 maximum frames. the theme board should
Adam ant 421 brickell avenue 1420 miami fl 33131 ss : adam ant 421 brickell avenue 1420 miami fl 33131 ss 987-65-4321 bob builder 1111 biscayne boulevard miami fl 33131 ss

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a single statement that prints a number

Write a single statement (in C++ language) that prints a number at random from each of the following set.

  The program should support a ''new'' feature

Write a GUI program that represents a simple Notepad clone. The program should support a 'new' feature that clears the text buffer, a save feature that writes to a file using a PrintStream

  A hierarchical jpeg encode decoder for greyscale images

This project is to develop a program that implements a hierarchical JPEG encoder/decoder for greyscale images.

  Analyze an efficient function for removing all duplicates

Describe and analyze an efficient function for removing all duplicates from a collection A of n elements.

  Write c program to find smallest-largest values

Write a program c that will find the smallest, largest and average values in a collection of N numbers.Get the value of N before scanning each value in the collection of N numbers.

  The manager of a football stadium

The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets-box, sideline, premium and general admission. The data is stored in a file, tickets.txt, in the fol..

  Destroy sauron''s ring by throwing it into the volcano

In order to destroy Sauron's ring by throwing it into the volcano Mt. Doom in the heart of Mordor, the hobbits have traveled a long way from their home in the Shire.

  Testing a program based on varying

Testing a program based on varying input values without knowing what the code looks like is called _____.With _____ testing, you make sure that every instruction in the code is executed at least once.

  Write a c++ program which will calculate the monthly balance

Write a C++ program which will calculate the monthly balance of a debt. Each month a payment is made on the balance, and interest is added to the balance using a fixed percentage rate.

  Write a number guessing game in which the computer selects

Write a number guessing game in which the computer selects a random number in the range of 0 to 100, and users get a maximum of 20 attempts to guess it.

  Write the class definition for a class called complex

. Write the class definition for a class called complex.

  Output the even numbers from 1 to 10 in ascending order

Output the even numbers from 1 to 10 in ascending order, then the odd numbers from 10 to 1 in descending order: 2 4 6 8 10 9 7 5 3 1. in C++

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