hey there everyone, am a new guy in Java programming, i want you guys to help me on how to write a program that can print out [B]even numbers[/B] below 61?
and
I want also to write a Java program that prints my name(first and second name on different lines.) thank you.
Bennychrystal
0
Newbie Poster
Recommended Answers
Jump to PostJava Newbie or not no one will or should help you on this forum unless you show that you have at least attempted to complete the program yourself.
There are plenty of tutorials out there that demonstrate how to do both those things.
Jump to PostI meant no disrespect by it just alittle advice. This may help:
- Research the modulus symbol in java: %
It can be used to determine whether a number is even, with the number 2, or odd based on its output, for example 5 % 2 would return …
All 5 Replies
Katana24
3
Junior Poster
Bennychrystal
0
Newbie Poster
Katana24
3
Junior Poster
ztini
Katana24
3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.