Question
INDEX.HTML/STYLE.CSS Make the title of this page: (Your Name)s Apple and Orange Counter. Put a single button on the screen. When the user clicks the
INDEX.HTML/STYLE.CSS
Make the title of this page: (Your Name)s Apple and Orange Counter. Put a single button on the screen. When the user clicks the button, prompt the user for an element to count. Keep a tally of how many times the user types apple (all lower case letters) as well as orange (all lower case letters). If the user types done, the program quits and reports how many times the user typed apple using a complete English sentence AND how many times the user typed orange using a complete English sentence. For example, You typed apple 2 times and orange 4 times. ADDENDUM. For an improved application, make the program present a grammatically correct sentence for 0, 1, or more apples and 0, 1, or more oranges. For example, the program should correctly states 0 apples, or 1 apple, or 2 apples. Its not correct to say 1 apples or 2 apple.
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