loop, C/C++ Programming

A company needs 200 pencils per year . you cannot simply use this price as the cost of pencils two years from now. Because of inflation the cost is likely to be higher than it is today write a program to estimate the expected cost of an item in a specified number of years. The program asks for the cost of the item, the number of years from now that the item will be purchased, and the rate inflation. The program then outputs the estimated cost of the item after the specified period. Have the user enter the inflation rate as a percentage, such as 5.6 (percent). Your program should then convert the percentage to a fraction. Such as 0.056, and should use a loop to estimate the price adjusted for inflation.
Posted Date: 6/7/2013 11:32:48 AM | Location : Ethiopia







Related Discussions:- loop, Assignment Help, Ask Question on loop, Get Answer, Expert's Help, loop Discussions

Write discussion on loop
Your posts are moderated
Related Questions
write a simple c++ program to implement a stack: 1. push 2. pop

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Define the Classification of Operators in C Language? Depending on the function performed the operator can be classified as 1. Arithmetic Operator 2. Logical Operator 3. Inc

write a c++ program to update employee records

write a program to find the area under the curve y=f(x) between x=a and x=b integrate y=f(x) between the limits of a and b #include float start_point,

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

I want to take 1.1 as input but when I am declaring it as float the output is given as 1.1000000

Define Static Storage Class in C Programming? The Static declarations have distinct and important uses. This allows the local variable to keep its previous value when the block

a program that declares and prompts the user to enter two integer and performs the five arithmetic operations