First: your post is incomplete. The whole call of the class is missing.
Your post is puzzling in structure; in other words: some parts seem to
have got mixed up, their order seems to be wrong.
Second: why do you require the user to enter four parameters if only
three are used?
Third: I've read the post three times, but still I don't understand
what it's supposed to do. What do you have in mind? This was not clear
to me.
Fourth: a short greeting (and be it only the obvious hated "HI") would
not hurt. Neither would a short closing greetings (regards, thanks...
whatever).