Display monthly interest with the particular amount?

Hi all.There is question you use any of the above language .If any person Enter any amount starts from 5000 and also enter tenure starts from 3 months,6 months, 9 months.upto 60 months then the interest rate will be automatically calculate like 5000 to 20000 we get 2% return 20000 to 50000 we get 3% return 50000 to 90000 we get 4% return 90000 above get 5% per month And this interest will be automatically display when anyone enter all these details. Use label,textbox,textarea,I need this in design Patten.

26th Oct 2017, 11:54 AM
Prash Gedam
Prash Gedam - avatar
2 Answers
+ 13
You just join Sololearn about ten minutes before posting your first (assignement) question @@ Sololearn is a platform to share between more or less apprentice coders and help themselves in the learning path, not to find free programmers to write code (and design ui) for you ^^
26th Oct 2017, 12:30 PM
visph - avatar
+ 3
Javascript: function interest(a) { return a>90000? a*0.05: a>50000? a*0.04: a>20000? a*0.03: a>5000? a*0.02:0; } https://code.sololearn.com/W6qZPtRnIFYt/?ref=app
26th Oct 2017, 12:16 PM
Calviղ - avatar