Facebook
From Balon, 3 Years ago, written in C#.
This paste is a reply to Re: PrintNum from Balon - go back
Embed
Viewing differences between Re: PrintNum and Add_one
using System;


public 
class PrintNumber
{
    public static void Main()
AddOneToNum
    {
        Console.WriteLine("Proszę podać liczbę: ");
        string a = Console.ReadLine();
        double b = double.Parse(a);
        for(int i=0; i<5; i++)
public static void Ink(int num)
        {
            int a = num;
            a++;
            Console.WriteLine("To jest liczba: WriteLine("Your number plus 1: {0}", b);
a);
            Console.Read();
        }

        public static void Main()
        {
            Ink(4);
        }
        \n        Console.Read();\n    }\n    }