Question: i need help with this proposition on Code In C language. You need to correct several works of preschool children. They learned to write one,

i need help with this proposition on Code In C language.
You need to correct several works of preschool children. They learned to write one, two and three in
English (how cute, right?). But, they are children... From time to time they make mistakes, but not a lot. You can assume they make mistakes
at most, one letter when writing these numerals. They do not add or remove letters, they only change letters sometimes (in the
maximum one per word). Oh, they always write in lower case letters. Since you know how to program, it's obvious what you're going to do
a program to solve this problem. After all, you can use the time you have left for something useful later!
2 Input
The input will contain in the first line the number of words that will be provided. One word per line will be provided, in
lower case. The words will be one, two or three, with at most one wrong letter (changed).
3 Output
Print the corresponding number in the output.
4 Input Example
3
owe
too
theee
5 Example Output
1
2
3
and the outputs need to be exactly just the numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!