I want to find percentage using the method that I have created from the class. But when I call the method in the application class, the output become 0 and not calculated. T