Question: in c++ it should return -1 if u enter a space or number or i or o an array of index 19 containing at index
an array of index 19 containing at index 0 alphabet A and goes on untill i it dosnt take i and letter 0 therefore j is at 7 index and we take a string from user say and user put a alphabet other than i and o the program gives the output in index, if the user enters a number or any othe charcter it shows invalid
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
