Amount

Download Category:

Amount.zip - (364.65 KB)
[
Amount/Amount.cpp
Amount/Amount.sln
Amount/Amount.suo
Amount/Amount.vcxproj
Amount/Amount.vcxproj.filters
Amount/Amount.vcxproj.user
Amount/Debug/
Amount/Debug/Amount.exe
Amount/Debug/Amount.exe.embed.manifest
Amount/Debug/Amount.exe.embed.manifest.res
Amount/Debug/Amount.exe.intermediate.manifest
Amount/Debug/Amount.ilk
Amount/Debug/Amount.lastbuildstate
Amount/Debug/Amount.log
Amount/Debug/Amount.obj
Amount/Debug/Amount.pdb
Amount/Debug/Amount.vcxprojResolveAssemblyReference.cache
Amount/Debug/Amount.write.1.tlog
Amount/Debug/Amount_manifest.rc
Amount/Debug/cl.command.1.tlog
Amount/Debug/CL.read.1.tlog
Amount/Debug/CL.write.1.tlog
Amount/Debug/link.5676.read.1.tlog
Amount/Debug/link.5676.write.1.tlog
Amount/Debug/link.5676-cvtres.read.1.tlog
Amount/Debug/link.5676-cvtres.write.1.tlog
Amount/Debug/link.command.1.tlog
Amount/Debug/link.read.1.tlog
Amount/Debug/link.write.1.tlog
Amount/Debug/link-cvtres.read.1.tlog
Amount/Debug/link-cvtres.write.1.tlog
Amount/Debug/mt.command.1.tlog
Amount/Debug/mt.read.1.tlog
Amount/Debug/mt.write.1.tlog
Amount/Debug/rc.command.1.tlog
Amount/Debug/rc.read.1.tlog
Amount/Debug/rc.write.1.tlog
Amount/Debug/vc100.idb
Amount/Debug/vc100.pdb
Amount/Question.txt
Amount/Screenshot_1.png
]

Write a program in which a user is prompted to enter two variables of the type double. The first input is the “amount” that must be larger than 1000 and the second input is the “rate” in percent. Then your program must keep reduce the “amount” each year by the percentage given in “rate”. Print the amount and the number of year it takes for the amount to go below 100. Use a loop for this problem.

Write a Review

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.