#Display all odd numbers from 1-20 using do while loop
21 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @uneven fossil! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
We won't do your homework for you. Try the problem first, and if you have a question on a specific part of the problem, or your implementation of the problem, we can help!
There is no printf in java. Use ```java
System.out.println("Hello world!");
you can also use System.out.printf, which is basically the printf equivalent in java
you're probably more familiar with that
the text you want to print
you can also replace the "" with the number variable entirely, it'll still print out properly
println accepts anything
is this correct?
yep
there is though
Yep realised that