Aims:
2 + 3
7 % 2
$age + 1
1 + 2 + 3
3 * 4 * 2
3 * (4 + 2)
(1 + 5) * (3 * 2)
3 * (4 + (2 * 6))
$temp_in_centigrade
contains a temperature in
degrees centigrade
$temp_in_fahrenheit = 32 + $temp_in_centigrade * 9 / 5;
$age_of_mother
and $age_of_father
contain the ages of the user's parents
$avg_age_of_parents = _____________________________________________________
$prev_mark
contains a student's mark
for the previous CS1109 assignments
$new_mark
contains his/her mark for a new assignment
$percentage_change = __________________________________________________
rgb(70%,0%,70%)
rgb(0,255,0)
#00FF00
rgb_form.html
contains this form:
<form action="rgb_convert.php" method="get"> <input type="text" name="r_per_cent" value="0" /> <input type="text" name="g_per_cent" value="0" /> <input type="text" name="b_per_cent" value="0" /> <input type="submit" /> </form>
rgb_convert.php
to convert the user's RGB value
expressed as percentages to an RGB value expressed as decimal integers between 0
and 255 inclusive