• Home
  • Blog
  • Aplication calculates number of left handed students and number of right handed students. Application accept L for left handed and R for right…

Aplication calculates number of left handed students and number of right handed students. Application accept L for left handed and R for right…

0 comments

Aplication calculates number of left handed students and number of right handed students. Application accept L for left handed and R for right handed.

input

1. “L” for left handed.

result

added to left handed counter

input

2. “R” for right handed.

result

adds to right handed counter.

input

“X” for quit

result

print total left handed and total right handed then exit application.

Prompt user with input to enter L or R for left or right handed, when user enters L or R application ask for next student until user enter X then application print result and exit

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}