Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ask 1, page name: task1.php, chapter: 2, marks: 10 Generate the following output by adhering to the instructions given below: Student name: Vusi Bhopape Number

ask 1, page name: task1.php, chapter: 2, marks: 10 Generate the following output by adhering to the instructions given below: Student name:Vusi Bhopape Number of modules registered:4 Cost per module: R1825 Total fee: R7300 Bursary amount: R5000 Outstanding fee: R2300 Create six variables to store the values displayed in bold. A constant should be used to store the cost per module. Consistently use either camel case or underscore separated variable names and for the constant, use the appropriate PHP naming convention for constants. The variable that stores the total fee should be initialized by multiplying the variable that stores the number of registered modules by the variable that stores cost per module. The variable that stores the outstanding fee should be initialized by subtracting the variable that stores the bursary amount from the variable that stores the total fee. The values linking the bold words with one another (for example "Student name:") are not part of the variable declarations. The output should be produced by echo statements. The layout of the output must be precisely the same as given above.

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

Financial Management Theory and Practice

Authors: Eugene Brigham, Michael Ehrhardt, Jerome Gessaroli, Richard Nason

2nd Canadian edition

176517308, 978-0176517304

Students also viewed these Programming questions

Question

Solve 1. dx dy + x 1-xy=xy.

Answered: 1 week ago

Question

=+c) In what month of the year are gas prices highest?

Answered: 1 week ago