Advertisement
ajreuri23

שאלה 16

Dec 1st, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. static void Main(string[] args)
  2. {
  3. int[] a = new int[10];
  4. int i, j, f;
  5. for (i = 0; i < 10; i ++)
  6. {
  7. a[i] = int.Parse(Console.ReadLine());
  8. }
  9. int[] b = new int[10];
  10. for (j = 0; j < 10; j++)
  11. {
  12. b[j] = a[j] * a[j];
  13. }
  14. int[] c = new int[10];
  15. for (f = 0; f < 10; f++)
  16. {
  17. c[f] = a[f] * a[f + 1];
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement