desislava_topuzakova

01. Лице на квадрат

Nov 11th, 2020
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _01.SquareArea
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. //1. прочитаме страна на квадрата
  10. //2. изчисляваме лицето -> a * a
  11. //3. принтираме лицето
  12.  
  13. int a = int.Parse(Console.ReadLine());
  14. int area = a * a;
  15. Console.WriteLine(area);
  16.  
  17.  
  18. }
  19. }
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment