Professional Documents
Culture Documents
Create an MVC Model 2 web application that will request for an input String from the user. The
function of the application is to segregate all input numbers from its input String. If the last
ending number is ODD, then all the input numbers should then be added, else (if EVEN) then all
the input numbers should then be multiplied.
Submit button
Clicking the submit button will then perform the operations listed above.
Summation value: 33
Go Back
Clicking the GO BACK (either button or hyperlink) will go back to the form.
For NumberCount – there is only one record that must exist. Attributes:
id int (PK, auto-increment)
oddCounter int
evenCounter int
Note – the oddCounter and the evenCounter will start with an initial value of zero (0).
The ViewCounterResults hyperlink will display the counter values from the NumberCount table.
Odd: 3
Even: 5