by the keyword you are given input after that when i given -1 it has to stop process and then what ever i given before i need the details which topic is it
I am going to try to decrypt this mess...
by the keyword you are given input ... I think "keyboard" was probably intended -- meaning write a program that takes user input.
after that when i given -1 it has to stop process ... I think this means that the previous snippet meant to loop and gather input from the user until the user enter "-1" to signal the end of input.
and then what ever i given before i need the details ... The program needs to give a summary of the information that was entered. Meaning, if the user entered nothing but numbers, some details could be the mean, median, max, min, etc. This is actually a standard homework problem.
which topic is it ... I think the original poster is looking for a package that does this already.
Anyway, if I deciphered it correctly.... I am pretty sure that you are supposed to stay in the packages that you learned in class. There is no package that will do exactly what you need here. And if there is, it probably won't be allowed by your professor anyway.
Henry