Showing posts with label sum of two numbers in visual foxpro. Show all posts
Showing posts with label sum of two numbers in visual foxpro. Show all posts

Thursday, November 16, 2017

Sum of Two Numbers in Visual Foxpro

Here is a sample program that will ask the user to give two numbers and then our program will compute the sum of two numbers using Microsoft Visual Foxpro.

I am currently accepting programming work kindly contact me in the following email address for further details. Thank you.

My email address are the following jakerpomperada@gmail.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 is (034) 4335675.




Sample Program Output



Program Listing

sum.prg

ans="y"

do while ans="y"

                clear

                @2,5 Say "Sum of Two Numbers in Visual Foxpro"
                input "Enter First Value   : " to a
                input "Enter Second Value  : " to b
                
                sum_all = (a+b)
                
                @ 8,0 Say "The total sum is" Get sum_all Pict "99999"
                
                            

                accept "Do you want to continue y/n? : " to ans

enddo