[Solved]1 First Screenshot Right Initial Rendering Prob1html Textbox First Number Name Num1 Second Q37285273
1. The first screenshot at right is theinitial rendering of prob1.html. The textboxfor the first number has name=”num1″, andthat for the second number has name=”num2″.All the radio buttons have name=”op”. Thevalues of the radio buttons are, respectively,”add”, “sub”, “mul”, and “div”. A radiobutton can be selected not only by clickingdirectly on it but also by clicking its label. Notethat the radio buttons are all inside a fieldsetwith a legend.It is expected that the user will enter numbersinto the two textboxes then clickSubmit, which sends a GET request toprob1.php.The second screenshot shows theform with numbers 2 and 3 entered. The thirdscreenshot shows the rendering of the HTMLreturned by the server when this form issubmitted. We provide two digits after thedecimal place since floating-point values maybe entered, and, in any case, division may resultin non-integer values even with integeroperands. The fourth screenshot down showsthe result when the Divide radio button isclicked and the form (with the same numbers)is submitted. To get a string representation of anumber $x with two digits after the decimalpoint, use number_format($x, 2).
Write and submit both prob1.html andprob1.php.
1(6 pts.). The first screenshot at right is the initial rendering of probl.html. The textbox First number for the first number has name “numl”, and that for the second number has name-“num2”. Second number All the radio buttons have name “op”. The values of the radio buttons are, respectively, “add”, “sub”, “mul”, and “div”. A radio button can be selected not only by clicking directly on it but also by clicking its label Note that the radio buttons are all inside a fieldset with a legend Select an operation o Add i Multiply Divide It is expected that the user wl enter numbers into the two textboxes then click Submit, which sends a GET request to probl.php. The second screenshot shows the form with numbers 2 and 3 entered. The third screenshot shows the rendering of the HTML First number: returned by the server when this fo is submitted. We provide two digits after te Second number: 3 decimal place since floating-point values may be entered, and, in any case, division may res Select an operation in non-integer values even with integer operands. The fourth screenshot down shows the result when the Divide radio button is clicked and the form (with the same numbers) is submitted. To get a string representation of a number $x with two digits after the decimal point, use number_format($x, 2) Submit Subtract Multiply O Divide Write and submit both probl.html and probi. php +3-5.00 2/3-0.67 Show transcribed image text 1(6 pts.). The first screenshot at right is the initial rendering of probl.html. The textbox First number for the first number has name “numl”, and that for the second number has name-“num2”. Second number All the radio buttons have name “op”. The values of the radio buttons are, respectively, “add”, “sub”, “mul”, and “div”. A radio button can be selected not only by clicking directly on it but also by clicking its label Note that the radio buttons are all inside a fieldset with a legend Select an operation o Add i Multiply Divide It is expected that the user wl enter numbers into the two textboxes then click Submit, which sends a GET request to probl.php. The second screenshot shows the form with numbers 2 and 3 entered. The third screenshot shows the rendering of the HTML First number: returned by the server when this fo is submitted. We provide two digits after te Second number: 3 decimal place since floating-point values may be entered, and, in any case, division may res Select an operation in non-integer values even with integer operands. The fourth screenshot down shows the result when the Divide radio button is clicked and the form (with the same numbers) is submitted. To get a string representation of a number $x with two digits after the decimal point, use number_format($x, 2) Submit Subtract Multiply O Divide Write and submit both probl.html and probi. php +3-5.00 2/3-0.67
Expert Answer
Answer to 1. The first screenshot at right is theinitial rendering of prob1.html. The textboxfor the first number has name=”num1″,… . . .
OR

