TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Calculate The Number Between 100 And 200 Divisable By 7 Program Using Java
Senthilvelan Sambamoorthy
Aug 12
2016
Code
552
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
ssva04.rar
//THE NUMBERS BETWEEN 100 AND 200 divisable by 7
public
class
ssva04
{
public
static
void
main(String arg[])
{
int
i,j;
j=
0
;
System.out.println(
"THE NUMBERS BETWEEN 100 AND 200"
);
for
(i=
100
;i<=
200
;i++)
{
if
(i %
7
==
0
)
{
j=j+
1
;
System.out.println(
"The "
+ j +
" st Number is: "
+ i);
}
}
}
}
Java