how to make the computer ask the user a number (language c++)

0 votes
asked Oct 19, 2018 by Ilaria (120 points)

1 Answer

0 votes
answered Oct 23, 2018 by Ryan (1,210 points)
You have to use cout and cin to ask for and receive information.
commented Oct 24, 2018 by anonymous
yes to clarify cout is for output and cin is for input * cout is used with <<, and cin with >>*
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.