Q-basic Program To Compute Simple Interest. - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Q-basic Program To Compute Simple Interest. (10185 Views)
| Q-basic Program To Compute Simple Interest. by EXICON(op): 10:22am On Aug 28, 2015 |
Hello house, Kindly assist to write a simple program to calculate simple interest in Q-BASIC. My sibling was given that assignment in school, university. Thanks. |
| Re: Q-basic Program To Compute Simple Interest. by Nobody: 2:29pm On Aug 28, 2015 |
Chill, am coming |
| Re: Q-basic Program To Compute Simple Interest. by Nobody: 2:34am On Aug 29, 2015 |
EXICON:tell ur sibling to accept input for the variables think I=PRT/100 and use the basic statement lobatan…. cls 'to calc simple interest input='enter value for principal', P input='enter value for rate', R input='enter value for time', T interest= (P*R*T)/100 print*, interest end ur siblings should fine-tuned the program that just d basic code |
| Re: Q-basic Program To Compute Simple Interest. by Vstuffs(m): 8:01pm On Aug 29, 2015*. Modified: 8:25pm On Aug 29, 2015 |
EXICON: Habiz:Just a little addition DIM P as Integer DIM R as integer DIM T as integer DIM Interest as Double CLS PRINT " Program to Calculate Simple Interest" INPUT "Enter Value for Principal", P INPUT "Enter Value for Rate", R INPUT "Enter Value for Time', T interest= (P*R*T)/100 print interest End |
| Re: Q-basic Program To Compute Simple Interest. by jacob05(m): 8:11pm On Aug 29, 2015 |
Vstuffs:should be DIM Interest as Double |
| Re: Q-basic Program To Compute Simple Interest. by EXICON(op): 8:14pm On Aug 29, 2015 |
Ok.
Thanks bro.
I really appreciate. |
| Re: Q-basic Program To Compute Simple Interest. by Vstuffs(m): 8:25pm On Aug 29, 2015 |
jacob05:Thanks a lot for the correction |
| Re: Q-basic Program To Compute Simple Interest. by jacob05(m): 8:27pm On Aug 29, 2015 |
Vstuffs:You're welcome ![]() |
Please Someone Should Help Vba To Compute The Product And Sum Of H.C.F And L.C.M • Keywords / Reserved word In Q-BASIC • Java Program To Solve Quadratic Equation-dealwap • 2 • 3 • 4
