Skip to content

From your chapter 2 of Java How To Program question 2.14 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
allenbangai opened this issue Oct 22, 2019 · 0 comments
Closed

From your chapter 2 of Java How To Program question 2.14 #2

allenbangai opened this issue Oct 22, 2019 · 0 comments

Comments

@allenbangai
Copy link
Collaborator

Write an application that displays the numbers 1 to 4 on the same line, with each pair of
adjacent numbers separated by one space. Use the following techniques:
a) Use one System.out.println statement.
b) Use four System.out.print statements.
c) Use one System.out.printf statement.

Note that this issue is no less a biginner issue and is just to warm up biginners.

DBryzz pushed a commit to DBryzz/JavaLearningCode that referenced this issue Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant