예제 #1
0
        public Person(float index)
        {
            float ValueCarriedhere = Expenditure.DailyStartAmount();

            Console.WriteLine("Name    :Humphry");
            Console.WriteLine("Id      :36058390");
            Console.WriteLine("Number  :0742267032");
            Console.WriteLine("Amount  :" + ValueCarriedhere);
        }
예제 #2
0
        static void Main(string[] args)
        {
            Console.Title = "Expense Manager";

            Program k = new Program();

            k.Details();
            Expenditure.NumberofItems();
            string IdGenerated = IDGenerator.Id();


            Expenditure.valuetobewrittenondatabase();
            Expenditure.Records();
            Console.Clear();
            Console.WriteLine("Remaining balance:" + Expenditure.Amount);
            Console.WriteLine("Transaction code :" + IdGenerated);
            Console.WriteLine("Date and Time    :" + DateTime.Now);

            Console.ReadKey();
        }
예제 #3
0
        public float remainigbalance()
        {
            float x = Expenditure.Expenses();

            return(x);
        }