Thursday, July 4, 2019

Area of the Circle Solve in ASP

Here is a simple script that I wrote using ASP to solve the area of the circle.

A basic program to add the sum of two numbers using classic ASP (Active Server Pages) it uses VBScript as its native language.

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 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

circle.htm

<!DOCTYPE html>
<html>
<style>
body {
 font-family:arial;
 size:12px;
}
</style>
<body>
<h2>Area of the Circle Solve in ASP </h2>
<form name="sending" method="GET" action="results.asp" target="_self">
    </FONT><font size="2">Give value in radius </font><br>
    <input name="radius" size="10">
    <br><br>
    <input type="submit" value="Solve" name="Send">
</form>
</body>
</html>
</body>


results.asp

<%
    'Written By Mr. Jake R. Pomperada,MAED-IT
'Date : July 4, 2019  Thursday
'Bacolod City
    r = Request.querystring("radius")
    radius     = cdbl(r)
pi = 3.1416

   display = pi * (radius * radius)
response.write("<h3> DISPLAY RESULTS </h3>")
response.write("<h3>The given radius is " & r &".</h3>")
response.write("<h3>The area of the circle is " & display &".</h3>")
%>



No comments:

Post a Comment