Q1. To display ASCII value until user will not strike the enter key.
Q2. To count the character until user does not strike the enter key.
Q3. To check marks validation using do while loop. (Do-While)
Q4. To print the message "Red" 10 times using for loop.
Q5. To print all Capital Alphabetic keys using for loop.
Q6. To print first five odd numbers using for loop.
Q7. To print the sum of given numbers using for loop.
Please fix the following input errors: