This is my second version of area of the circle solver using Microsoft Visual Foxpro I just improve the code much shorter and efficient compared to version one I hope you will find my work useful.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
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 City I also accepting computer repair, networking and Arduino Project development at a very affordable price.
Program Listing
* Compute Button
IF EMPTY(thisform.txtradius.value) then
MESSAGEBOX("Cannot be empty. Please Try Again")
thisform.txtradius.setfocus
ELSE
radius = val(thisform.txtradius.value)
area = (3.1416 * radius * radius);
final_solve= round(area,2)
thisform.label2.caption = "The area of the circle is " + ltrim(padl(final_solve, 5))
ENDIF
* Clear Button
thisform.txtradius.value =""
thisform.label2.caption =""
thisform.txtradius.SetFocus
* Quit Button
IF MESSAGEBOX("Are you sure you want to exit this program?",36)=6
thisform.release
ENDIF
thisform.txtradius.Value = ""
thisform.txtradius.SetFocus
No comments:
Post a Comment