how to output a string after a count of every 10 numbers ina count of 50 numbers.

Welcome 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]

for(int i = 1; i<=50; i++)
{
       if( i%10 = 0 )
       {
               System.out.println(MyString.charAt(i-1));
       }
}
for(int i = 1; i<=50; i++)
{
       if( i%10 == 0 )
       {
               System.out.println(MyString.charAt(i-1));
       }
}

Those double equal stuffs made me a big headache when I switched to java too.
Also you should verify if you can make an inner and outer loop by 10 and 5 before doing this to not do unnecessary stuff. Of course it's not always possible.

My program worked. Thank you very much for all of those who helped me.

Marks this thread as "Solved" if you get appropriate solution.
Thanks.

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.