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());

}

}

cust

package com.ilp;

public class Cust {
private String custname=”Hari”;
private String custid=”H87″;
private int notp; //number of tour packages
private int nors; //number of room services
private double ltpoints; //loyalty points
private double pp;//package price
private double fp; // final price
private boolean disc=false;

public String getCustname() {
return custname;
}

public void setCustname(String custname) {
this.custname = custname;
}

public String getCustid() {
return custid;
}

public void setCustid(String custid) {
this.custid = custid;
}

public int getNotp() {
return notp;
}

public void setNotp(int notp) {
this.notp = notp;
}

public int getNors() {
return nors;
}

public void setNors(int nors) {
this.nors = nors;
}

public double getLtpoints() {
return ltpoints;
}

public void setLtpoints(double ltpoints) {
this.ltpoints = ltpoints;
}

public double getPp() {
return pp;
}

public void setPp(double pp) {
this.pp = pp;
}

public double getFp() {
return fp;
}

public void setFp(double fp) {
this.fp = fp;
}

public boolean isDisc() {
return disc;
}

public void setDisc(boolean disc) {
this.disc = disc;
}

public void printCustDetails()
{
System.out.println(“The name of the customer is”+ custname);
System.out.println(“The customer ID is”+custid);
}

public double printLtPoints(int notp, int nors)
{
ltpoints= notp*200+nors*100;
return ltpoints;
}

public double calculateDiscount(double pp)
{
if(ltpoints>50 && ltpoints300 && ltpoints600)
{
fp=pp-(0.10*pp);
disc=true;
}
else
{
fp=pp;
disc=false;
}
return fp;
}

public double resetLtPoints()
{
if(disc=true)
{
ltpoints=0;
}

return ltpoints;
}

}

A New Journey!

Its been a while since I wrote a post. Not that I’ve been busy or something, but that nothing much has been going around lately.

Just when I got sick of the gym routine and tv shows, I got my joining letter at Tata Consultancy Services. And it didn’t disappoint me because they’ve given a new location for me to go and re-learn those mad IT skills again.

Although, I’m a bit worried about how much useful my broken Hindi is gonna be, I can’t deny that I’m excited. Frankly, I’ve never lived anywhere for more than a week other than Chennai or Bangalore.

And to tread in an unknown place is always gonna be good.

Looking forward to the train journey and I hope IRCTCs random seat arrangement (for once) gives me some good company!

The KL Experience!

When I first went to KL, I didn’t think much of it. Because, the only place I’d been to, outside India was Dubai and I thought KL was slow, not developed.

But as I moved to Singapore, from Kuala Lumpur, the experience was the same as what you feel when you move from a road-side tea-stall  to an expensive Coffee Shop.  The ambience changes. The People Change. So does your expenses.

And the comfort of SG lasts until you notice how light your pocket got.

DSC05716

First of all, one of the apparent benefits of KL, is that its cheap.

When I went to  Singapore, after KL, I got the feeling that everything in SG was artificial and monotonous, just like every other developed city.

Kuala Lumpur has its own tune. The people are different and not everyone is hooked on to their phones when you take the metro ride. Although, the trains are much crowded and old, I had a better experience going in it. Coming to the taxis in KL, they’re voted as having one of the worst taxi systems in the world. Yes, there were drivers who tried to rip me off, but once I found this friendly old Japanese guy, who not only spoke to me about the Malaysian made car Proton but in the end, told me not to take a taxi from a stand since they charge super high.

I stayed for 3 days in Kuala Lumpur in Tuanku Abdul Rahman Road. Opposite to my hotel, was this Chinese market,  filling an entire road. And at 12 in the night, everything’s gone!

The next morning, cars and trucks passed through that road and again at afternoon 1, the people came and set up their market. I observed this thing for 3 days and it was surprising. It was not just 10/20 shops, but hundreds of them. I’ve never seen anything like that before. Overall, variety of things I experienced in Kuala Lumpur made good memories and I’d love to come back to KL again!

Past the crossroads.

My Name is Hari and this blog is the product of years of procrastination and many futile attempts thanks to my scumbag brain. This might is more of a confessional ranting rather than an introduction. Right from childhood,  I’ve been the kind of guy who’ll blink if you ask me to make a choice between a box of Lego bricks and a couple of Hot Wheel Cars. Dazed and Confused. All the time. I’ve often let things influence me to a large extent.

When I first saw Space Jam, when I was in grade 6/7, I just wanted to shoot hoops for the rest of my life. I tried to make it work, until the point it didn’t. I realized that I sucked at basketball. Then, I learnt animation after watching those mangas on Animax, got a certificate and only after months I learnt that I didn’t have the patience or creativity to thrive on that for a long time.

By the time, I crossed off these fields off the list, I had already joined college, and as time passed by, I crossed off a few more things off the list. But I never managed to fill the blank. All these years, I’ve never had an answer and I’ve always let people down, by not making clear choices. This led me into more depression and procrastination. I convinced myself, I’ll never be able to settle down on a blog name, given my nature. But I heard a quote today, which was one of the profound things, I’ve ever heard.

“Careers are a 20th century invention. And I don’t want one”

It just repeated again and again, in my mind. Rather than look at them as paths to settle down or achieve something in life through careers. I’m gonna use them to pursue my passions. Luckily, I’ve found the things that interest me the most, things I never get bored of – travelling & photography 🙂