1. WAP in C++ to print an Integer.
Answers
Answered by
1
Answer:
please mark me as Brianlist
Explanation:
How to Read and Print an Integer value in C++
The user enters an integer value when asked.
This value is taken from the user with the help of cin method. ...
For an integer value, the X is replaced with type int. ...
This entered value is now stored in the variableOfIntType.
Now to print this value, cout method is used.
Answered by
4
Answer:
To print any integer or number on output in C++ programming, just put the variable that holds the value, after cout<< like: cout<<num; whatever the value of num is, it gets printed on output.
Explanation:
hi Army
hope it is helpful
stay safe
have a bangtanic day
borahae
Similar questions