public Person(float index) { float ValueCarriedhere = Expenditure.DailyStartAmount(); Console.WriteLine("Name :Humphry"); Console.WriteLine("Id :36058390"); Console.WriteLine("Number :0742267032"); Console.WriteLine("Amount :" + ValueCarriedhere); }
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(); }
public float remainigbalance() { float x = Expenditure.Expenses(); return(x); }