Q10.The following pseudocode is executed using the "Words" dataset. What will `A` represent at the end of the execution?
```
A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
i = 1, B = 0
while(i <= X.LetterCount){
if(ith letter of X.Word is a vowel){
B = B + 1
}
i = i + 1
}
if(B > 2){
A = A + 1
}
Move X to Table 2
}
```
Save
Check
Details
Q10
16 Jul 2023
Q10.The following pseudocode is executed using the "Words" dataset. What will `A` represent at the end of the execution?
```
A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
i = 1, B = 0
while(i <= X.LetterCount){
if(ith letter of X.Word is a vowel){
B = B + 1
}
i = i + 1
}
if(B > 2){
A = A + 1
}
Move X to Table 2
}
```