Question: 10. The function Getchar (N, text) extract the Nth character from the text string. The range of N is 1 to the length of the
10. The function Getchar (N, text) extract the Nth character from the text string. The range of N is 1 to the length of the string. What is the output of the process below after execution? Step 1: N = 1 Step 2: Text = "Banana" Step 3: Letter = Getchar(N, Text) Step 4: Print letter Step 5: N = N+2 Step 6: If N > 5 then end process Step 7: Goto Step 3 i) bnn ii) baa iii) bna iv) ana v) ban
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
