GUVI
Back

could anyone teach me this..

Created 2 years ago
238 Views
2 Comments
YOKESHWARRAJ
@YOKESHWARRAJ
YOKESHWARRAJ
@YOKESHWARRAJProfile is locked. Login
A person saves his monthly saving according to given schema. He saves same amount of money which is equal to the money saved in immediate previous two months. Assume, initially he saved 1000 rupees and in first month he saved another 1000. Your task is to tell how much he had totally saved at the end of ‘n’ months Input Description: You will be given a number ‘n’->No. of months Output Description: Print the total savings at the end of ‘n’ months
Comments (2)
Please login to comment.
 
Powered by habitate.io Habitate