Skip to content

selvasachein/MathServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

Ex.04 Design a Website for Server Side Processing

Date:

AIM:

To create a web page to calculate total bill amount with GST from price and GST percentage using server-side scripts.

FORMULA:

Bill = P + (P * GST / 100)
P --> Price (in Rupees)
GST --> GST (in Percentage)
Bill --> Total Bill Amount (in Rupees)

DESIGN STEPS:

Step 1:

Clone the repository from GitHub.

Step 2:

Create Django Admin project.

Step 3:

Create a New App under the Django Admin project.

Step 4:

Create a HTML file to implement form based input and output.

Step 5:

Create python programs for views and urls to perform server side processing.

Step 6:

Receive input values from the form using request.POST.get().

Step 7:

Calculate the total bill amount (including GST).

Step 8:

Display the calculated result in the server console.

Step 9:

Render the result to the HTML template.

Step 10:

Publish the website in Localhost.

PROGRAM:

OUTPUT - SERVER SIDE:

OUTPUT - WEBPAGE:

RESULT:

The a web page to calculate total bill amount with GST from price and GST percentage using server-side scripts is created successfully.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published