Question
In this question you are required to implement a simple transcript calculator by applying HTML tags and PHP codes. The calculator final code with 2
In this question you are required to implement a simple transcript calculator by applying HTML tags and PHP codes.
The calculator final code with 2 snapshots should be provided in your answer sheet.
This calculator has the following specifications:
1- The user changes the initial marks of some or all courses, and then presses the button 'Calculate the Total and Average', to find out the total, average, result and the grade of the entered marks.
2- It is assumed that the initial mark of all courses is zero, the initial result value is empty string and the initial grade value is empty string.
3- The result value is 'PASS' if the average greater than or equal to 50, otherwise it is 'FAIL'. The grade value is determined according to the scale below: A Average ? 90 B 80 ? Average
4- The web page of this calculator, as shown in figure-1, has the following specifications: a- 'PHP Simple Transcript Calculator' as the title of this web page. b- 'Simple Transcript Calculator' as the main header of this web page. Figure-1: Simple Transcript Calculator with Initial Values c- M105, M129, M130, M131, M132, Total, Average, Result and Grade as labels. d- M105, M129, M130, M131, M132, Total, Average, Result and Grade as textboxes. e- 'Calculate the Total and Average' as button name. f- Courses' labels and their textboxes are located in a separate field set, and the others are located in a different field set
Chttp://localhost Transcriptl.php o-c pHP Simple Transcript Calc.. ?? Simple Transcript Calculator M105 0 M129 0 M130 0 M131 0 M132o Total 0 Average o Result Grade Calculate The Total and Average Figure-1 : Simple Transcript Calculator with Initial ValuesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started