Guest User

mat

a guest
Oct 9th, 2011
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1.     class Program
  2.     {
  3.         public static void Main(string[] args)
  4.         {
  5.             for (int i = 0; i < 100; i = i + 2)
  6.             {
  7.                 for (int j = 0; j < 100; j = j + 2)
  8.                 {
  9.                     for (int k = 0; k < 100; k = k + 2)
  10.                     {
  11.                         if( (i*j*k) == (7*(i+j+k) ))
  12.                         {
  13.                             Console.WriteLine(i + " " + j + " " + k );
  14.                         }
  15.                     }
  16.                 }
  17.             }
  18.         }
  19.     }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment