Latest post
6/recent/ticker-posts
Home
Education
_Programming Language
__C++
__Fortran
__Qbasic
_Do you know?
_Pdf Tutorial
_Discussion
Motivation
_Deep Exhortation
_Word
_Restoration
Entertainment
_Song download
_Music
_Jokes
_Stories
_Sport
_News
Labels
Restoration Today
Word
Discussion
Sport
News
Qbasic
Entertainment
Jokes
Fortran
Deep Exhortation
C++
Education
Stories
Job opening
story of my life
Home
Qbasic
QBASIC: FIND A GEOMETRY MEAN
QBASIC: FIND A GEOMETRY MEAN
by
Dacode
January 16, 2017
CLS
DIM num(1 TO 2) AS INTEGER
FOR i = 1 TO 2
INPUT "enter a number ", num(i)
NEXT i
FOR j = 1 TO 2
LET sum = num(1) * num(2)
NEXT j
PRINT "product is ", sum
LET geo = SQR(sum)
PRINT "geometric mean is ", geo
END
PROGRAM RESULT
Post a Comment
0 Comments
Download The Yeary Bible Calendar
Facebook Page
Dacodeblog
Recent Post
5/recent/post-list
Follow us on Social Media
0 Comments
If you have further concerns, kindly drop a comment.