SHARE
TWEET

Untitled

a guest Oct 15th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package pbo;
  2. import java.util.Scanner;
  3. public class ProgramInputOutput020 {
  4.     public static void main(String[] args) {
  5.         Scanner sc = new Scanner(System.in);
  6.         System.out.print("Input BilBul n: ");
  7.         int n = sc.nextInt();      
  8.         for(int i=1;i<=n;i++){
  9.             if(i%5==0){
  10.                 break;
  11.             }
  12.             System.out.println(i);
  13.         }
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top