daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int n = 10;
  2.  
  3. for(int i = 0; i < n; i++) {
  4.     if (i % n == 0) || (i + 1 % n) {
  5.         // prindi esimene ja viimane rida
  6.     } else {
  7.         // prindi keskmised read
  8.     }
  9. }
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