Search found 2 matches

by Morag2
Thu Dec 19, 2013 11:51 am
Forum: Volume 101 (10100-10199)
Topic: 10114 - Loansome Car Buyer
Replies: 38
Views: 13414

Re: 10114 - Loansome Car Buyer

Thanks, it was indeed a stupid mistake - I was exiting the main loop anytime the answer was 0 months.
by Morag2
Sat Dec 14, 2013 4:36 am
Forum: Volume 101 (10100-10199)
Topic: 10114 - Loansome Car Buyer
Replies: 38
Views: 13414

Re: 10114 - Loansome Car Buyer

So I've just returned to UVA problems... and while this looks simple, I am doing something wrong. It is probably silly, but I'd appreciate another pair of eyes. Here is my code - it works on the test cases in this topic. #include <iostream> using namespace std; int main(){ int months, numRecords; do...

Go to advanced search