Math, asked by eshwar15, 5 months ago

What will the value of A represent at the end of execution of the given procedure on the “Paragraph Words” dataset?

Step 1. Arrange all cards in a single pile called Pile 1
Step 2. Maintain two variables A, B and initialize them to 0
Step 3. If Pile 1 is empty then stop the iteration
Step 4. Read the top card in Pile 1
Step 5. Add Letter count to variable B
Step 6. If the word does not end with a full stop then execute step 9
Step 7. If the word ends with a full stop and B > A then store B in A
Step 8. Reset the variable B to 0
Step 9. Move the current card to another pile called Pile 2 and repeat from step 3
a)Length of the shortest sentence based on the number of words
b)Length of the longest sentence based on the number of words
c)Length of the longest sentence based on the number of characters
d) Length of the shortest sentence based on the number of characters
e)None of the above

Answers

Answered by aditya11austin
1

Answer:

3rd option is the correct one

Similar questions