20 Reputation Points
Ranked #1K
- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #72.7K
Re: the reason why you can't call main is because when you run a program you have a pointer at the current command that is being executed. When you call a function, the function code is copied onto the current stack (your program memory) and the pointer is jumped to the … | |
Hey, I'm making a very simple program to find out how many months it would take to pay off credit card debt [code=C] // Calculate Credit Card Debt and How long it would take to pay it off #include <iostream.h> using namespace std; int main(void) { double Debt, APR, MinMonthPay; … |