₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,009 members, 8,419,905 topics. Date: Thursday, 04 June 2026 at 07:08 AM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingQ-basic Program To Compute Simple Interest. (10185 Views)

1 Reply (Go Down)

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:
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):
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(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:
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

Please Someone Should Help Vba To Compute The Product And Sum Of H.C.F And L.C.MKeywords / Reserved word In Q-BASICJava Program To Solve Quadratic Equation-dealwap234

Lets Learn C.My Website/Web Application Projects