- 0
Beginning Java Program
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
.NET and JDBC drivers get native vector data support, enabling up to 50x faster reads
By Usama Jawad96,
- 0 replies
- 0 views
-
JetBrains releases IntelliJ IDEA 2025.1.1, bringing multiple bug fixes and improvements
By David Uzondu,
- jetbrains
- intellij idea
- (and 6 more)
- 0 replies
- 0 views
-
- 14 replies
- 0 views
-
High Performance with Java ($33.99 Value) free eBook download
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 4 views
-
- 0 replies
- 8 views
-
Question
+witbyt Subscriber¹
So this is a long shot but I've been part of neowin for a while and think you folks might be able to help me. I am in my first java program design class in college and need to a program that will
"Write a Java program that accepts numeric input from the user (integer value)
2. Print out the square and cube of the number entered.
3. Make sure that the number is > 0.
4. Repeat the above three times.
5. If the number entered is <= 0 then end the program, telling the user why.
Include appropriate prompts so that the user knows what to do."
I have no clue where to start, I have looked recently at other forums here and wow this is like spanish to me, maybe because I'm just starting, just looking for some help if anyone has any to offer.
Thank you!
Link to comment
https://www.neowin.net/forum/topic/1057452-beginning-java-program/Share on other sites
7 answers to this question
Recommended Posts