ajreuri23

שאלה 8

Oct 24th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. int max , i , x;
  2. x = int.Parse (Console.ReadLine ());
  3. max = x;
  4. for (i = 0 ; i < 9; i++)
  5. {
  6. x = int.Parse(Console.ReadLine());
  7. if (x > max)
  8. max = x;
Add Comment
Please, Sign In to add comment