package com.ilp;

public class Main {

/**
* @param args
*/
public static void main(String[] args) {

Cust c1 = new Cust();
c1.printCustDetails();
c1.printLtPoints(2,0);
System.out.println(“your total loyalty points:” +c1.getLtpoints());
c1.calculateDiscount(12000);
System.out.println(“the price after discount:” +c1.getFp());
System.out.println(“your tour has been booked”);
c1.resetLtPoints();
System.out.println(“your NEW loyalty points:”+ c1.getLtpoints());

}

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s