انا مسوي البروجكت بدون ما اسوي الشكل حق الفاتورة
فعشان اسوي الشكل اقدر اسوي اوت بوت ثاني ولا اعدل في الاوت بوت الموجود ؟؟
|
انسخ هذا الكود وضعه نهاية البروجيكت يعني بعد ما تكتب كل الخطوات
كود PHP:
System.out.println("Saudi Electricity Company ");
System.out.println("Bill Number: "+BillNumber);
System.out.println("Name: "+Name+" Bill Month: "+Month);
System.out.println("Old Meter Reading: "+OldMeterReading+" Current Meter Reading: "+NewMeterReading);
System.out.println("Total Consumption: "+TotalConsumption+" Unit Rate Per Unit:"+RatePerUnit+" Halalah");
System.out.println("Unpaid Amount: "+UnpaidAmount+" Other Charges: "+Othercharges);
System.out.println("Total Bill Payment: "+currentbalance+" Total Days: 30");
System.out.println("Note: You have to pay your bill withing 15 days of Bill Month");
بعدين اضغط F6 و أدخل البيانات وراح تظهر الفاتورة نهاية الحل
بس اهم شيء تغير اسماء المتغيرات الي في الكود الي فوق الى اسماء المتغيرات الي انت كاتبها
اشاء الله اكون افدتك