asked 115k views
3 votes
Given a variable count, which contains an integer value, write a statement that writes the value of count to standard output.

asked
User Sormuras
by
9.0k points

1 Answer

2 votes
You should state what language you're using when asking these types of questions; looks to be C++ with the standard output.


Let's say count has a value of 5.


int count = 5;
std::cout << count << std::endl;
answered
User Jeannie
by
8.5k points

No related questions found