using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab1
{
class Program
{
static void Main(string[] args)
{
double d;
float f;
int i;
decimal m;
decimal w = 0;
decimal x = 2;
decimal p = 100;
p = (x + p) / 2;
w = x / p;
for (int s = 0; s < 7; s++)
{
p = (w + p) / 2;
w = x / p;
}
Console.WriteLine(w);
Console.ReadLine();
/*
double x = 100;
double y = Math.Sqrt(x);
Console.WriteLine(y);
Console.ReadLine();
*/
/*
checked
Console.WriteLine("Z jakiej liczby policzyc silnie? ");
string x = Console.ReadLine();
int a = Convert.ToInt32(x);
// Console.WriteLine(a);
int wynik=1;
for (int y = 1; y <= a; y++)
{
wynik =wynik*y;
if (y==a)
Console.WriteLine(wynik);
}
unchecked
Console.ReadLine();
*/
/*
for (decimal f1 = -1; f1 < 1; f1 += 0.1m)
{
Console.WriteLine(f1);
if (f1 == 0)
Console.WriteLine("zero");
}
Console.ReadLine();
*/
/*
for (float f1 = -1; f1 < 1; f1+=0.1f)
{
Console.WriteLine(f1);
if (f1 > 0)
Console.WriteLine("zero");
}
Console.ReadLine();*/
/*double x = 10000000.17;
Console.WriteLine(x);
Console.ReadLine();*/
/*double suma = 0;
for (int i = 0; i < args.Length; i++)
{
Console.WriteLine(args[i]);
suma += Convert.ToDouble(args[i]);
}
Console.WriteLine("suma" + suma);
Console.ReadLine();*/
/*
Console.Write("a=");
string sa = Console.ReadLine();
double a = Convert.ToDouble(sa);
Console.Write("b=");
string ba = Console.ReadLine();
double b = Convert.ToDouble(ba);
double c = a + b;
string sc = c.ToString();
Console.WriteLine("c= " + sc);
Console.ReadLine();*/
}
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}