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 ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- /*int iloscwierszy = 5;
- for (int i = 0; i < iloscwierszy; i++)
- {
- }*/
- //string napisstopniecelsjusza;
- //Console.WriteLine("Podaj temperaturę w stopniach Celsjusza");
- //napisstopniecelsjusza = Console.ReadLine();
- //double stopniecelsjusza = Double.Parse(napisstopniecelsjusza);
- //double stopniefahrenheita = ((9.0 / 5.0) * stopniecelsjusza + 32);
- //Console.WriteLine(stopniecelsjusza + " stopni Celsjusza to " + stopniefahrenheita + " stopni Fahrenheita");
- //string napismasa, napiswzrost;
- //Console.WriteLine("Podaj swoją wagę w kilogramach");
- //napismasa = Console.ReadLine();
- //Console.WriteLine("Podaj swój wzrost w metrach");
- //napiswzrost = Console.ReadLine();
- //double masa = double.Parse(napismasa);
- //double wzrost = double.Parse(napiswzrost);
- //Console.WriteLine(masa + " " + wzrost);
- //double bmi = (masa / Math.Pow(wzrost, 2.0));
- //Console.WriteLine("Twoje BMI wynosi " + bmi);
- //double wyraz, suma;
- //double q = Math.Sqrt(5);
- //double pierwszyWyraz = 1;
- //wyraz = pierwszyWyraz;
- //suma = 0.0;
- //for (int i = 1; i < 800; i++)
- //{
- // Console.WriteLine($"Wyraz {i}: {wyraz}");
- // suma += wyraz;
- // wyraz *= q;
- //}
- //Console.WriteLine($"Suma to: {suma}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement