Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- int[] a = new int[10];
- int i, j, f;
- for (i = 0; i < 10; i ++)
- {
- a[i] = int.Parse(Console.ReadLine());
- }
- int[] b = new int[10];
- for (j = 0; j < 10; j++)
- {
- b[j] = a[j] * a[j];
- }
- int[] c = new int[10];
- for (f = 0; f < 10; f++)
- {
- c[f] = a[f] * a[f + 1];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement