0

I started my journey of coding with JavaScript, but now I have picked up C++. I made a simple Rock-Paper-Scissor game in it, so please tell me if I'm doing anything wrong or if I'm using a wrong approach.
Here is the code:
#include<iostream>
char getUserChoice(){
char choice;
do{
...