← Unit 1 · all exercises
Saved in this browser only

Two columns

Print the two words on one line with a single tab between them. A tab is written \t inside a String.

void columns(String left, String right)

Solution.java
Loading editor…
Results

Examples

  • columns(name, value) → name value
  • columns(a, b) → a b

There are also 2 hidden tests you can't see. Solve the problem, not the examples.