Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- int amount;
- int value;
- Console.WriteLine("Amount: ");
- amount = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("values: ");
- value = Convert.ToInt32(Console.ReadLine());
- int[] tomb = new int[amount];
- for (int i = 0; i < amount; i++)
- {
- tomb[i] = Convert.ToInt32(Console.ReadLine());
- }
- Console.WriteLine(".....");
- for (int i = 0; i < amount; i++)
- {
- Console.WriteLine(tomb[i]);
- }
- Console.ReadKey();
- }
- Console.WriteLine("values: ");
- value = Convert.ToInt32(Console.ReadLine());
Add Comment
Please, Sign In to add comment