Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,488 members, 7,808,808 topics. Date: Thursday, 25 April 2024 at 05:12 PM

Q-basic Program To Compute Simple Interest. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Q-basic Program To Compute Simple Interest. (9519 Views)

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)

(1) (Reply) (Go Down)

Q-basic Program To Compute Simple Interest. by EXICON(m): 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 Jelo4kul(m): 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:
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.

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
EXICON:
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.
Habiz:


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
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"
PRINT
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:


Just a little addition

DIM P as Integer
DIM R as integer
DIM T as integer
DIM Interest as integer
CLS
PRINT " Program to Calculate Simple Interest"
PRINT
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
should be DIM Interest as Double
Re: Q-basic Program To Compute Simple Interest. by EXICON(m): 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:
should be DIM Interest as Double
Thanks a lot for the correction
Re: Q-basic Program To Compute Simple Interest. by jacob05(m): 8:27pm On Aug 29, 2015
Vstuffs:

Thanks a lot for the correction
You're welcome wink

(1) (Reply)

Simple Php Challenge / Application Development Using Csharp (C#) / Help On Java

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.