I hope you are now sure about printing the output using the cout statement. Let us look at the ways to get input. The cin statement is used to get input from the user. We first need to define a variable in which the given input will be stored. For example: int a; cin>>a; //Note … Continue reading Basics of Input & Output
