SHARE
TWEET

Untitled

a guest Jun 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static void PrintEven(int x)
  2. {
  3.     int c = 0;
  4.     while (c <= x)
  5.     {
  6.         if (c % 2 == 0)
  7.             Console.WriteLine(c);
  8.         c++;
  9.     }
  10.     Console.WriteLine("Done.");
  11. }
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