Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Singapore V2Ray VPN for Tunneling
hu KANNA
Updated:
Yesterday at 9:03 PM
Plan your Crypto & Forex entries before you take the trade
romeshnonis
Updated:
Yesterday at 3:20 AM
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Sep 8, 2026
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Sep 7, 2026
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sep 6, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
ElaKiri Programmer's Club
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="tery123" data-source="post: 18030998" data-attributes="member: 343391"><p>[PHP]#include<stdio.h></p><p></p><p>void main(){</p><p> int i,n,t,power;</p><p> float p,r,ammount;</p><p> </p><p> printf("enter the investment: ");</p><p> scanf("%f",&p);</p><p> printf("enter the anual rate: ");</p><p> scanf("%f",&r);</p><p> printf("enter the number of years: ");</p><p> scanf("%d",&t);</p><p> printf("enter the number of times compound in the eyar: ");</p><p> scanf("%f",&n);</p><p> i=1;</p><p> while(i<t){</p><p> power=n*t;</p><p> ammount= p*((1+ r/n)*power);</p><p> printf("final amount for %d is %f ",t,ammount);</p><p> i++;</p><p> }</p><p> </p><p> fflush(stdin);</p><p> getchar(); </p><p> [/PHP]</p><p>menna me cord eka harida kihanko me pseudo code ekata</p><p></p><p>[PHP]Variable Declarations</p><p>int t, n, i, Power</p><p>float Final_Amount, P,r</p><p>INPUT “Number of Years:” t</p><p>INPUT “Annual Interest:” r</p><p>INPUT “Number of Times Compounded Per Year:” n</p><p>INPUT “Initial Investment:” P</p><p>BEGIN</p><p>i = 1</p><p>WHILE (i < t ) DO</p><p>Power ← n*t;</p><p>Final_Amount ← P*((1 + r/n)^Power);</p><p>PRINT “Final Amount = £ “Final_Amount;</p><p>PRINT “Year = “ i ;</p><p>Print newline</p><p>i++</p><p>END WHILE LOOP</p><p>END</p><p>[/PHP]</p><p></p><p>ANSWER EKA ENNE - ganankne....</p><p> ara ^power ekai *power ekai dala thiyena sybol; eke wenasa hindada???</p></blockquote><p></p>
[QUOTE="tery123, post: 18030998, member: 343391"] [PHP]#include<stdio.h> void main(){ int i,n,t,power; float p,r,ammount; printf("enter the investment: "); scanf("%f",&p); printf("enter the anual rate: "); scanf("%f",&r); printf("enter the number of years: "); scanf("%d",&t); printf("enter the number of times compound in the eyar: "); scanf("%f",&n); i=1; while(i<t){ power=n*t; ammount= p*((1+ r/n)*power); printf("final amount for %d is %f ",t,ammount); i++; } fflush(stdin); getchar(); [/PHP] menna me cord eka harida kihanko me pseudo code ekata [PHP]Variable Declarations int t, n, i, Power float Final_Amount, P,r INPUT “Number of Years:” t INPUT “Annual Interest:” r INPUT “Number of Times Compounded Per Year:” n INPUT “Initial Investment:” P BEGIN i = 1 WHILE (i < t ) DO Power ← n*t; Final_Amount ← P*((1 + r/n)^Power); PRINT “Final Amount = £ “Final_Amount; PRINT “Year = “ i ; Print newline i++ END WHILE LOOP END [/PHP] ANSWER EKA ENNE - ganankne.... ara ^power ekai *power ekai dala thiyena sybol; eke wenasa hindada??? [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom