SHARE
TWEET

R

a guest Dec 8th, 2019 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class HelloWorld {
  2.  
  3.  public static int hello(int m ,int n)
  4.  {
  5.  int i = m;
  6.  int z = m;
  7.  for(i++;i<n;)
  8.  {
  9. System.out.println("g");
  10.  z = z + m;
  11.  }
  12.  return z;
  13.  }
  14.  public static void main(String[] args)
  15.  {
  16.  int v;
  17.  v = hello(0,8);
  18.  System.out.println(v);
  19.  }
  20.  
  21. }
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