Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Enter the height in pixels");
- int a = int.Parse(Console.ReadLine());
- Console.WriteLine("Enter the width in pixels");
- int b = int.Parse(Console.ReadLine());
- Console.WriteLine( a * b / 80 + " whole rectangles");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement