What information do you need to find the selling price

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

1. What is the output of the following C++ programs?
#include <iostream>
using namespace std;
int main()
{
cout << "Testing our ";
cout << "program in C++ language . "<<endl;
cout << "10 -5 = " << 10 - 5<< endl;
return 0;
}

2. Given the radius, in inches, and price of a pizza, design an algorithm to find the price of the pizza per square inch.

3. The cost of an international call from Abu Dhabi to Khartoum is calculated as follows: Connection fee 1.99; 2.00 Dirham for the first three minutes; and 0.45 for each additional minute. Design an algorithm that asks the user to enter the number of minutes the call lasted. The algorithm then uses the number of minutes to calculate the amount due.

4. To make a profit, the prices of the items sold in a furniture store are marked up by 60%. Design an algorithm to find the selling price of an item sold at the furniture store. What information do you need to find the selling price?

 

 

Reference no: EM13309607

Questions Cloud

What considerations would made with regards to cement type : You are a construction engineer working on a large concrete foundation project, involving the placement of over 500,000 c.y of concrete. The construction site is adjacent to a salt-water source (bay) & it is decided to set up a concrete batch plan..
Compute the capacitance of this combination : Two thin-walled concentric conducting spheres of radii 5.0 cm and 10 cm have a potential difference of 100 V between them
Define what is the concentration of the reactant b : A certain second-order reaction (B-product) has a rate constant of 1.25×10?3M^-1s^-1 at 27 degree celcius and an initial half-life of 264s . What is the concentration of the reactant B after one half-life
Determine which borrow site is the most economical : A new development is to be constructed in Mexico City. Due to the large subsidence, the elevation at the proposed site must be raised prior to construction. The total volume of soil needed to raise the site is 100,000 cubic yards.
What information do you need to find the selling price : To make a profit, the prices of the items sold in a furniture store are marked up by 60%. Design an algorithm to find the selling price of an item sold at the furniture store. What information do you need to find the selling price?
How many turns should there be on the output coil : A transformer is designed to step down the 220V line voltage to 11V. how many turns should there be on the output coil
Explain the reaction of cyclohexanone with sodium acetylide : Provide structures of the substrate, initial additional product, and the product formed after hydrolysis in the reaction of cyclohexanone with sodium acetylide
Would a tuition increase raise the rate of unemployment : Labor Supply. Catholic priests take a vow of chastity, forgoing marriage and intimate non-marital relationships. This question relates to the article posted on Angel
Philosophical origins-assumptions : From what philosophical view point has the Piaget's theory arisen, and on what assumptions is it founded?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Value referenced by the pointer.

Add 10 to the value referenced by pointer switch.Add 4 to the address stored in pointer switch.Subtract 5 from the value referenced by the pointer.

  Using array subscript notation

Using array subscript notation, base/offset notation with the array name as the pointer, array notation with  vPtr , and pointer/offset notation with  vPtr , add 3 to the value in the 3 rd element and display that number. (Do not modify the value in ..

  Implement a standard sorted linked list class

Write C++ Program:Implement a standard SORTED linked list class. Be sure to include constructor/copy constructor, destructor, and assignment operator overload.

  Function that accepts a pointer to a c-string

Write a function that accepts a pointer to a C-string as an argument and returns the number of words contained in the string. Also have it display the average number of letters in each word.

  Design in c a unix utility program gasp

Design in C a Unix utility program gasp. Command gasp [options] STRING FILE... must read listed files (FILE...) and copy each line from input to stdout if it contains STRING.

  Write an application that reads the user''s weight

Write an application (BMICalc) that reads the user's weight in poinds and height in inches, then calculates the Body Mass Index.

  Write main function to compute stress-strain in steel rod

Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compression loads.

  Write a program that will read in 2 test score.

Write a program that will read in 2 test score. The instructor has decided to give each student 10 bonus point on each test. Print out each test score and the total after the bonus, the print the total number of points earned on the tests.

  You are to create a program

You are to create a program that will input a group of floating point values, storing them as double values in an array. This array will then be sent to three functions.

  Use a switch statement

Use a switch statement to write a program that prompts user to enter an character.

  Write function that finds the minimum of three double value

1. Write a function that finds the minimum of three double values. This function should use another function that finds the minimum of two double values.

  Test a program that prompts for the user

Write and test a program that prompts for the user to input a file name and uses two functions head() and tail() - head() displays the first 10 lines of a file

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