04-08-2013, 10:28 PM
Fine...Many of u tried well.Since it's getting late I'm going to tell the answer.
This is just a basic concept of oops.In OOPS you would have seen some concepts like classes,nested classes, nested loops.
But in OOPS there is no concepts called "nested loops"
(i.e) we can't use a function inside any other function. The function can be declared and called either by using objects or not using objects.
Here I have used two functions namely get() and dis() inside the main function.This is the bug in the given code.
Hence the correct code is
DEBUGG.txt (Size: 654 bytes / Downloads: 47)
Fear is a reaction,but courage is a destination