Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create an MVC Model application that will request for a bus company name, a plate number and driver assigned. The function of the application is
Create an MVC Model application that will request for a bus company name, a plate
number and driver assigned. The function of the application is to check if the plate
number is coding on Monday, Tuesday, Wednesday, Thursday or Friday. The
application should also count the number of occurrences per coding group.
Please note the following on plates ending:
1 and 2 - Monday Coding
3 and 4 - Tuesday Coding
5 and 6 - Wednesday Coding
7 and 8 - Thursday Coding
9 and 0 - Friday Coding
Sample application execution:
HTML Form
Enter bus name: ABC Bus Co
Plate No: YZA198
Driver Assigned: Juan dela Cruz
Submit button
Clicking Submit will determine and print what day is assigned for its coding.
Required sample output:
The ABC Bus Co with plate number YZA198 belongs to Thursday coding. Assigned
driver is Juan dela Cruz.
Click here to go back for form.
___________________________________________________________________________
Monday Coding: 2
Tuesday Coding: 0
Wednesday Coding: 0
Thursday Coding: 1
Friday Coding: 0
Selecting here will go back to the form for another data entry.
NOTE: Perform full field validation ONLY for the plate number. Your application should
be able to perform and detect the following:
total number of entries is 6
first three will be letters only while the last three are numbers.
Please note that any violation/s listed above will display an invalid entry
${message}
Enter bus name: | |
Plate No: | |
Driver Assigned: | |
Step 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