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
using System;
namespace sample
{
 class program
  {
    static void main  (string[] args)
    {
       void get()
        {
            int s,n,k;
           Console.Writeline(enter any value for s,s);
            s=Convert.ToInt32(console.readline());
            Console.Writeline(enter any value for n,n);
            n=Convert.ToInt32(console.readline());
            k=n*(s*s + n*n);
         }
         void dis()
          {
             console.Writeline(k=+k);
             console.readline();
           }
      }
  }
}
sorry.Try better @keerthana.M
Just a double  quotation was missing in the 13th line

[attachment=8629]
Pages: 1 2 3 4 5 6 7 8 9 10 11