Computer Science, asked by Daddykokkie, 3 months ago

1. WAP in C++ to print an Integer. ​

Answers

Answered by s1262tanu3311
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 anivaS
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