Taking a part 1001001101
I need to write a program that can output information for every one and zero but I’m not sure what function to use,
The output would look like
Yes 1 times
No 2 times
Yes 1 times
No 2 times
Yea 2 times
No 1 times
Yes 1 times
How would I go about doing this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.