Question: Writ an Assembly program that takes input a character from A/a to Z/z Checks the vowel displays a message You entered a vowel
Writ an Assembly program that takes input a character
from A/a to Z/z
Checks the vowel displays a message “You entered a vowel” if it is and if not then “Not a vowel”. Input other than A/a to Z/z will be treated as “Invalid input” and take input again Until a valid input by user, if a user enters wrong input 5 times terminate the program by displaying message “Sorry”. After checking vowels, you are required to ask user “Do you want to continue (Y/N)? if user enters Y/y go to start again if N/n exit the program, other than Y/y or N/n will be treated as “Invalid option” and ask again until valid option is selected
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
bool True ctr 0 while bool if ctr 5 ch inputEnter a character if chisalpha if ch A or ch a or ch E ... View full answer
Get step-by-step solutions from verified subject matter experts
