Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- //pole trapezu;
- int p1 = 3;
- int p2 = 2;
- int h = 4;
- int wynik = 0,5 * (p1 + p2) * h;
- Console.WriteLine(wynik);
- Console.ReadKey();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement