(Source Code) Foxpro - Calculate and Print the Multiplication Table of a Number Entered

Foxpro/VFP Source Codes

Foxpro - Calculate and Print the Multiplication Table of a Number Entered


 Q : Foxpro -  Calculate and Print the Multiplication Table of a Number Entered

Solution:-

ans="y"

do while ans="y"

                clear

                input "enter 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 "want to print another table :" to ans

enddo



comments powered by Disqus