Question: C++: Write a program that will read in 10 characters ('L' for loss, 'W' for win) and compute and report the longest winning streak: This

C++: Write a program that will read in 10 characters ('L' for loss, 'W' for win) and compute and report the longest winning streak:

This question has been answered before, however, there is a caveat: we have not learned arrays. All the other solutions seem to use arrays. I am supposed to be doing this with the use of simple for/while loops, if/else statements, whatever it takes. That is all we have covered. It is for points, it is on our practice test. Help would be greatly appreciated!

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 Databases Questions!