New course! Every coder should learn Generative AI!
Try a free lesson- 1
Anyone can explai me loan calculator logic ?
1 Answer
+ 3
1 - take amount as input
2 - use for loop and run 3 times
3 - calculate 90% of amount inside loop and assign to same variable amount
4 - print final amount outside loop