Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region zad1
- // System.Console.WriteLine("Podaj liczbę calkowitą: ");
- // int liczba = int.Parse(Console.ReadLine());
- // System.Console.WriteLine("Ile razy mam dodać 5?");
- // int licznik = int.Parse(Console.ReadLine());
- // int suma = liczba;
- // for(int i = 0; i < licznik; i++ )
- // {
- // suma += 5;
- // System.Console.WriteLine($"{i+1}. Po dodaniu 5 {i+1} raz: {suma}");
- // }
- // DRY - Don't Repeate Yourself
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement