Bitcoin
Bitcoin
Java code to display numbers from 85 to 5 at the interval of 5
public class MultipleOfFive {
public static void main(String[] args){
int i = 90;
do{
i = i - 5;
System.out.print(i + " ");
}while(i > 5);
}
}
1 comment:
Sambyte
21 July 2017 at 11:12
This is a simple java code to get numbers from 90 to 0 but both numbers are excluded
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Facebook
This is a simple java code to get numbers from 90 to 0 but both numbers are excluded
ReplyDelete