Guest User

Untitled

a guest
May 27th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. int wain(int a, int b) {
  2. int sum = 5;
  3.  
  4. while (a == b)
  5. {
  6. sum = sum + a;
  7. a = a - 1;
  8. }
  9.  
  10. println(sum);
  11.  
  12. return sum;
  13. }
Add Comment
Please, Sign In to add comment