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
Power Lifting Lever Belt
SkullVamp
Updated:
Saturday at 10:32 PM
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Saturday at 3:55 PM
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Ad icon
Wechat qr verification
Pawan2005
Updated:
Jun 11, 2026
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Jun 10, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
java problem kiyala denna
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="amila.ela" data-source="post: 7166843" data-attributes="member: 274557"><p><span style="font-size: 18px">q1.</span></p><p><span style="font-size: 18px">A person invest 10000 in saving account yielding 5% interest.</span></p><p><span style="font-size: 18px">Assuming that all interest is left on deposit. </span></p><p><span style="font-size: 18px">Calculate & print the amount of money in the account at the year end of each year for</span></p><p> <span style="font-size: 18px">10 years.Use the following formula to determine the amounts.</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">a=p(1+r)^n</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">p-original amount invested</span></p><p><span style="font-size: 18px">r-annual interest rate </span></p><p><span style="font-size: 18px">n-numbers of years</span></p><p><span style="font-size: 18px">a-amount on deposited at end of the n year</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">(required : Java program & answers)</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">q2.</span></p><p><span style="font-size: 18px">Write Java program to print following patterns.</span></p><p><span style="font-size: 18px">(a) </span></p><p><span style="font-size: 18px">*</span></p><p><span style="font-size: 18px">**</span></p><p><span style="font-size: 18px">***</span></p><p><span style="font-size: 18px">****</span></p><p><span style="font-size: 18px">*****</span></p><p><span style="font-size: 18px">******</span></p><p><span style="font-size: 18px">*******</span></p><p><span style="font-size: 18px">********</span></p><p><span style="font-size: 18px">*********</span></p><p><span style="font-size: 18px">********** </span></p><p><span style="font-size: 18px">(b)</span></p><p><span style="font-size: 18px">**********</span></p><p><span style="font-size: 18px">*********</span></p><p><span style="font-size: 18px">********</span></p><p><span style="font-size: 18px">*******</span></p><p><span style="font-size: 18px">******</span></p><p><span style="font-size: 18px">*****</span></p><p><span style="font-size: 18px">****</span></p><p><span style="font-size: 18px">***</span></p><p><span style="font-size: 18px">**</span></p><p><span style="font-size: 18px">*</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">(c)</span></p><p><span style="font-size: 18px">*</span></p><p><span style="font-size: 18px">**</span></p><p><span style="font-size: 18px">***</span></p><p><span style="font-size: 18px">****</span></p><p><span style="font-size: 18px">*****</span></p><p><span style="font-size: 18px">******</span></p><p><span style="font-size: 18px">*******</span></p><p><span style="font-size: 18px">********</span></p><p><span style="font-size: 18px">*********</span></p><p><span style="font-size: 18px">**********</span></p><p><span style="font-size: 18px">(d)</span></p><p><span style="font-size: 18px">**********</span></p><p><span style="font-size: 18px">*********</span></p><p><span style="font-size: 18px">********</span></p><p><span style="font-size: 18px">*******</span></p><p><span style="font-size: 18px">******</span></p><p><span style="font-size: 18px">*****</span></p><p><span style="font-size: 18px">****</span></p><p><span style="font-size: 18px">***</span></p><p><span style="font-size: 18px">**</span></p><p><span style="font-size: 18px">*</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p></blockquote><p></p>
[QUOTE="amila.ela, post: 7166843, member: 274557"] [SIZE="5"]q1. A person invest 10000 in saving account yielding 5% interest. Assuming that all interest is left on deposit. Calculate & print the amount of money in the account at the year end of each year for 10 years.Use the following formula to determine the amounts. a=p(1+r)^n p-original amount invested r-annual interest rate n-numbers of years a-amount on deposited at end of the n year (required : Java program & answers) q2. Write Java program to print following patterns. (a) * ** *** **** ***** ****** ******* ******** ********* ********** (b) ********** ********* ******** ******* ****** ***** **** *** ** * (c) * ** *** **** ***** ****** ******* ******** ********* ********** (d) ********** ********* ******** ******* ****** ***** **** *** ** * [/SIZE] [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom