Chapter 2: Problem 17
Write a program that prints the numbers 1 to 4 on the same line with each pair of adjacent numbers separated by one space. Do this several ways: a) Using one statement with one stream insertion operator. b) Using one statement with four stream insertion operators. c) Using four statements.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.