Skip to content

Instantly share code, notes, and snippets.

@bitwiser
Created February 26, 2014 19:25
Show Gist options
  • Save bitwiser/9236564 to your computer and use it in GitHub Desktop.
Save bitwiser/9236564 to your computer and use it in GitHub Desktop.
namespace console
{
class Program {
static void Main() //TBD
{
double count;
double Double = 10; // declare variables
for(int i = 0;i < Double;i++) //keep doing
{
count=function(i);
Console.WriteLine(count);
}
Console.Read();
}
public static double function(int a) //a function
{
return (Math.Sqrt(a));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment