Vidyarthiplus (V+) - Indian Students Online Education Forum

Full Version: ONLINE DEBUGGING CONTEST August 2013 - by Arthi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11
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

[attachment=8633]
Great friend!!!! Really good work..

My personal request to @Srini is you can give her +1 repute

Well done @Arthi Singaravelan
Nice Explanation.. +2 Reputed @Arthi Singaravelan
Pages: 1 2 3 4 5 6 7 8 9 10 11