Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package pbo;
- import java.util.Scanner;
- public class ProgramInputOutput020 {
- public static void main(String[] args) {
- Scanner sc = new Scanner(System.in);
- System.out.print("Input BilBul n: ");
- int n = sc.nextInt();
- for(int i=1;i<=n;i++){
- if(i%5==0){
- break;
- }
- System.out.println(i);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement