InterviewSolution
Saved Bookmarks
| 1. |
bhay is fond of collecting Pokemon cards. He has X cards with him. His friend Amit promised him to give N cards everyday for D days. How many cards will Abhay have at the end of Dth day. Take the values of X, N and D as input from the user. The program should be tested for C no. of cases which will also be entered by the user. Sample input: No. of cases. : 2 Values of X, N and D: 5, 4, 6 No. of cards Abhay has on Dth day: 5+4+4+4+4+4+4=29 Values of X, N and D: 4, 2, 2 No. of cards Abhay has on Dth day: 4+2+2=8 |
|
Answer» "N" (and any SUBSEQUENT words) was IGNORED because we LIMIT queries to 32 words.Explanation:PLZ FOLLOW me |
|