Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program to compute and output the penalty on an unpaid credit card balance. Assume the interest rate is 1.5% per month. Declare variables
Write a program to compute and output the penalty on an unpaid credit card balance. Assume the interest rate is 1.5% per month. Declare variables and add header Enter the current balance and payment Final balance-current balance payment Is the final balance 0? Penalty-final balance'interest rate False Print the final balance and penalty Program: #include "stdafx.h" #include using namespace std; #include int tmain(int argc, _TCHAR* argv[]) //1) declare variales //2) prompt input //3) calculation //4)display the results system("pause"); return e
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started