Write a program that will convert us dollar amounts

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

1. Write a C++ program to display the following sum

4 +8+12+16+20+24 +...+404

2. Write a program that will convert US dollar amounts to Canadian dollar (1 CND = 0.92 USD). Format your currency amounts in two decimal places and trailing zeros. Sample output:

Enter the amount of US: 5.6
$5.60 US is equal to $6.09 Canadian

3 A country club, which currently charges $240 per year for membership, has announced it will decrease its membership fee by 4% each year for the next six years. Write a program that uses a loop to display the projected rates for the next six years.

Sample output:

Membership for year 1: $aaaa.an

Membership for year 6: $ffff.ff

Reference no: EM13185949

Questions Cloud

Explain what is the perecent of nacl by mass in the sample : A smple of mixture of NaCl, Caco3 and SiO2 weighed 7.30 grams. During the water wash the sample lost 2.21 grams. After treatment with HCL, the sample weighed 2.05 grams. a. What is the perecent of NaCL by mass in the sample
Will the firm earn positive economic profits : For a particular good that is monopolized, the monopolist faces the following demand and cost conditions: P= 12 - 2 qd MR= 12-4qd MC= 2 q a) What price will the firm charge its customers b) Will the firm earn positive economic profits
Explain a method of preparing a very pure alkane is to react : A method of preparing a very pure alkane is to react the corresponding alkyl magnesium halid (grignard reagent) with water and collect the alkane product.
Estimate the maximum error in the calculated surface area : The circumference of a sphere was measured to be 86000 cm with a possible error of 050000 cm. Use linear approximation to estimate the maximum error in the calculated surface area.
Write a program that will convert us dollar amounts : Write a program that will convert US dollar amounts to Canadian dollar (1 CND = 0.92 USD). Format your currency amounts in two decimal places and trailing zeros.
Sate a smple of mixture of nacl : A smple of mixture of NaCl, Caco3 and SiO2 weighed 7.30 grams. During the water wash the sample lost 2.21 grams. After treatment with HCL, the sample weighed 2.05 grams.
Explain aufbau filling principles : Based on Aufbau filling principles, chromium would be expected to have the following configuration [Ar]4s^23d^4. but the configuration is actually [Ar] 4s^13d^5. Wrtie a brief statement explaining why this alternate configuration is the known con..
What is the present discounted value of this payment : Jethro has been promised a payment of $1000, which is to be paid exactly 8 years from now. He is completely certain that the payment will in fact be made. Jethro believes that the appropriate discount rate is 5% per year, and that this will contin..
What is the maximum number of trees : If each ton of rock costs $70, each plant is $20, and each tree is $74, what is the maximum number of trees you can buy with a budget of $2,500? Write an inequality that illustrates the problem and solve.

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