A sample program in c# to find squareroot of two numbers,by implementing methods along with validation of ip?
I need an example program in c# for finding squareroot of three nos.i know the the general method(Math.sqrt).But i get errors when i put in methods and validate.Can anyone tell how to program it using method implementation along with input validation?
Need ex program in c# to find squareroot of two numbers,by implementing methods along with validation of ip?
Do you use System.Math ?
It should work.
Math.Sqrt(int number);
int num=36;
int sqrt=0;
sqrt=Math.Sqrt(num);
It will return 6.
nobile
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment