:mad:
User 6623435
Posts
-
solve this question -
Storing memory address as hex in an xml fileriving license (class) +number: string (constructor) +renewelperiod: int (constructor) + GetLicenseInfo():void (mrthod) + CalculateLicensePrice(): double (method) + DisplayLicenseInfo() : void (method) Based on the above, create a program with the following requirement • GetLicenseInfo() method that input license number and renewal period from user. Display an information to the user either to renew the license for 1,2,3 or 5 years. • CalculateLicensePrice() method that will calculate price for driving license depends on the renewal period of 1,2,3 or 5 years. The renewal fee is RM30 per year • A method DisplayLicenseInfo() that will display each details including license number,renewal period and license price. Create an object and invoke necessary method
-
solve this questionyes :(
-
solve this questiondriving license (class) +number: string (constructor) +renewelperiod: int (constructor) + GetLicenseInfo():void (mrthod) + CalculateLicensePrice(): double (method) + DisplayLicenseInfo() : void (method) Based on the above, create a program with the following requirement • GetLicenseInfo() method that input license number and renewal period from user. Display an information to the user either to renew the license for 1,2,3 or 5 years. • CalculateLicensePrice() method that will calculate price for driving license depends on the renewal period of 1,2,3 or 5 years. The renewal fee is RM30 per year • A method DisplayLicenseInfo() that will display each details including license number,renewal period and license price. Create an object and invoke necessary method