how to output a string after a count of every 10 numbers ina count of 50 numbers.
surima
0
Newbie Poster
Recommended Answers
Jump to PostWelcome surima,
You should have to read,
1.
Homework policy
2.
How to post source code?
3.
Title of thread must reflect your question.Show your code. Do not forget to use code tags. Source code must be surrounded with code tags.
For example,[CODE=Java] ... statements..
[/code]
Jump to Postfor(int i = 1; i<=50; i++) { if( i%10 = 0 ) { System.out.println(MyString.charAt(i-1)); } }
All 5 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
GökhanBarış
3
Newbie Poster
MoZo1
-3
Junior Poster
surima
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
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.