Thursday, November 16, 2017

Multiplication Table Generator in Visual Foxpro

Here is a sample program that will ask the user to give a number and then it will generate the corresponding multiplication table 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

multiplication.prg

ans="y"

do while ans="y"

                clear

                @2,5 Say "Multiplication Table Generator in Visual Foxpro"
                input "Give the table to print :" to t

                i=1

                do while i <=10

                                p=t*i

                                ?str(t)+ "  *" + str(i,4) + "  = " + str(p,4)

                                i=i+1

                enddo

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

enddo


No comments:

Post a Comment