Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 910 Bytes

File metadata and controls

43 lines (27 loc) · 910 Bytes

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 python programs for views and urls to perform server side processing.

Step 5:

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

Step 6:

Publish the website in the given URL.

PROGRAM:

OUTPUT - SERVER SIDE:

OUTPUT - WEBPAGE:

RESULT:

The a web page to calculate vehicle mileage and fuel efficiency using server-side scripts is created successfully.