In this article, I would like to share with you guys a simple program that I wrote using Quick Basic in DOS to ask the user to give three numbers and then the program will compute the sum of the three numbers and display the results in the screen.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.
Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com
Sample Program Output
Program Listing
PRINT
PRINT "Addition of Three Numbers in QBasic"
PRINT
INPUT "Give First Value : ", a
INPUT "Give Second Value : ", b
INPUT "Give Third Value : ", c
PRINT
sum = (a + b + c)
PRINT "The sum of"; a, ","; b; "and"; c; "is"; sum; "."
PRINT
PRINT "End of Program"
PRINT
No comments:
Post a Comment