int variable;
cin takes the input from the screen and stores it in the variable.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy