Advertisement
anilak

C#1_1_9_v2

Apr 26th, 2013
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. using System;
  2.  
  3. namespace CS1_1_9
  4. {
  5. class FirstTenNumbers
  6. {
  7. static void Main()
  8. {
  9. for (int i = 2; i < 12; i++)
  10. {
  11. Console.Write("{0}, ", i * Math.Pow(-1, i));
  12. }
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement