Write a programme to get ten numbers

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

Q.1. Write a program that gets  10 numbers  and stores then in an array. Then sort (low to high) the number using a function.

Note: The program requires ask user for continuing for getting next  15 numbers.  

Q.2 . Write a program for:  A child’s rectangle play yard is to be built next to the house. To make the three sides of the play-pen, twenty-four meters of fencing are available. What should be the dimensions of the sides to make a maximum area?

Formulation:   Variables                x,y   and        x is in  (2-8}

                     Max                   Area=A     *y

                   Constraint           2x+y=24

Q.3 Write a program  that prompts  for and gets a student name and exam mark until  a name of "quit" is entered. The program should provide the following functionality

a) Use  a condition  statement  to  check that  a valid  exam  mark  is  in the range  0 to  100 inclusive.

b) Otherwise  when  an error is detected,  display an error and re-prompts  the user for the data until the correct data is entered.  You can use either a while or do/while  loop for this if you wish.

c) After  checking  for  a  valid  mark  and  finding  the  corresponding  grade,  display  the results by showing the student name and grade to the user.

Reference no: EM13871627

Questions Cloud

Calculate the total number of copies that the publisher : Your finance text book sold 55,000 copies in its first year. The publishing company expects the sales to grow at a rate of 20.0 percent for the next three years, and by 13.0 percent in the fourth year. Calculate the total number of copies that the pu..
Required journal entries for the two events in december : Give the required journal entries for the two events in December. Show how the amounts related to Accounts Receivable and Bad Debt Expense would be reported on the balance sheet and income statement for 2015. On the basis of the data available, does ..
What are the effects of liberalizations on emerging market : What is a stock market liberalization? What are the effects of liberalizations on (a) emerging market correlations with the world stock returns, (b) local market volatility, and (c) the local cost of capital?
Evaluate what alternative venture capital shortcut : Evaluate what alternative venture capital shortcut (VCSC) methodologies might be applied in valuing an entrepreneurial venture. How might you determine which of these alternatives is the most appropriate to use?
Write a programme to get ten numbers : Write a programme to get 10 numbers and store in an array. than sort (low to high) the number using a function.
What are the spiritual implications for this client : What are the spiritual implications for this client , Is the use of religion functional or dysfunctional and What spiritual interventions might be appropriate?
What is the aftertax cash flow from the sale : Consider an asset that costs $783,000 and is depreciated straight-line to zero over its nine-year tax life. The asset is to be used in a five-year project; at the end of the project, the asset can be sold for $182,000.If the relevant tax rate is 30 p..
Straight line method to amortize the discount : Use the same information in RE14 3, except assume that the bonds are sold for $318,000.
Calculate the amount of itemized deductions the gibsons : How much can she deduct as a charitable contribution to the university's athletic department - Calculate the amount of itemized deductions the Gibsons may claim for the year.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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