Code:
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();
}
}
}
}
here is the bug "Console.Writeline("enter any value for sn);
n=Convert.ToInt32(console.readline());"