Write a program that prompts for and gets a student name

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

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.

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=x*y

Constraint 2x+y=24

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:

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

• 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.

• 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: EM13719762

Questions Cloud

Explain what is the concentration of potassium in clued : if the natural abundance of K 40 is 0.010% and 3500 disintegration of K 40 occur every 10.0sec, in human body weighing 100kg,then what is the concentration of potassium in clued all isotopes in that body? Assume density of human is 1g/ml
Explain the molecule c6h12 does not contain a double bond : If the molecule C6H12 does not contain a double bond, and there are no branches in it, what will its structure look like?
Estimate the volume of a solution of naoh : Estimate the volume of a solution of 2.3 M NaOH that must be added to adjust the pH from 4.0 to 9.0 in 61 ml of a 68 mM solution of phosphoric acid.
Define what is the concentration of potassium : The half life of potassium-40 is 1.26X10^9 yrs, if the natural abundance of k-40 is .010% and 3500 disinigrations of k-40 occur every 10 sec in a human body weighing 100kg then what is the concentration of potassium (include all isotopes) in that ..
Write a program that prompts for and gets a student name : Write a program that gets 10 numbers and stores then in an array. Then sort (low to high) the number using a function.
Explore the pros and cons of the employee free choice act : What are the pros and cons of the Employee Free Choice Act, and the Mandatory Secret Ballot Protection Act?
How many methyl equatorial positions are possible with cis : How many methyl equatorial positions are possible with cis-1,4-dimethycyclohexane for a single configuration
Define the turnover number of the enzyme invertase : Determine the value of the turnover number of the enzyme invertase, given that Rmax (Vmax) for invertase = 15.8 mmol•L-1•min-1 and [E]t = 2.0 ?mol•L-1. Invertase has a single active site.
How many grams of c3h8o3 must be added to water : How many grams of C3H8O3 must be added to 720 grams of water at 70.0oC in order to lower the vapor pressure by 4.25 torr. The vapor pressure of water at 70.0oC is 233.65 torr.

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