Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a webpage prog2.php and write a PHP script in it to do the following: Ramez Store gives you discount on every purchase on the

Create a webpage prog2.php and write a PHP script in it to do the following: Ramez Store gives you discount on every purchase on the basis of the following rules: Write a program that initializes the price of the items in a suitable variable and then calculate the amount you have to pay after subtracting the discount amount. For example, if the price is OMR 51. the output should be: Price: OMR 50 Discount OMR 2 Amount to be paid : OMR 48 After your finish, copy and paste your code below OR upload your prog2.php file in the upload link below

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

App Inventor

Authors: David Wolber, Hal Abelson

1st Edition

1449397484, 9781449397487

More Books

Students also viewed these Programming questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago