Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace lb1
- {
- class Program
- {
- static void Main(string[] args)
- {
- int[] A = new [] { 1234, 1302, 1245, 1198, 1229, 1280 };
- int i;
- for (i = 1; i <= 6; i = i + 1) ;
- int[] B = new int[6];
- if (A[i] < 0 )
- { B[i] = (-A[i]); }
- if(0 <= A[i] )
- { B[i] = A[i]; }
- int[] P = new int[6];
- P[i] = B[i] - B[i - 1];
- int V = (P[i + 1] / B[i]) * 100;
- Console.WriteLine();
- Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement