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 cas4
- {
- class Program
- {
- static void Main(string[] args)
- {
- int izbor;
- doube a, b, c;
- }
- static double obim(double r)
- {
- o = 2 * r * Math.PI;
- return o;
- }
- static double obim(double a, double b)
- {
- double o, c;
- c = Math.Sqrt(a * a + b * b)
- o = a + b + c;
- return o;
- }
- static double obim(double a, double b, double c)
- {
- o = a + b + c;
- }
- static double povrsina(double a, double b)
- {
- double p;
- p = (a * b) / 2;
- return p;
- }
- static double povrsina(double a, double b, double c)
- {
- double p, s;
- s=obim(a,b,c)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement