Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html>
<head>
<title>$1</title>
</head>
<body>
$0
</body>
@RMcGee
RMcGee / Project
Last active December 22, 2015 18:09
<!DOCTYPE html>
<html>
<head>
<title>Example Linked CSS</title>
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
</head>
<body>
<h1>HEEEAAAAAADLIIIIIINNNE</h1>
</body>
</html>
namespace FahrenheitToCelcius
{
class Program
{ /*
* Purpose: Convert Fahrenheit to Celcius
* Author: Reid McGee
* Date: September 11, 2013
*/
static void Main(string[] args)
{
Int32 number;
Console.WriteLine ("Enter 4 digit number");
number = Int32.Parse(Console.ReadLine());
Console.WriteLine("The first digit is {0}", number / 1000);
Console.ReadLine();
Console.WriteLine ("The second digit is {0}", number % 1000 / 100);
Console.ReadLine();
Console.WriteLine("The third digit is {0}", number % 100 / 10);
Console.ReadLine();
Console.WriteLine("The fourth digit is {0}", number % 10 / 1);
//Volume of a Cone
Double radius, height, volume;
Console.WriteLine("Cone volume calculator");
Console.WriteLine("Enter radius");
radius = Double.Parse(Console.ReadLine());
Console.WriteLine("Enter height");
height = Double.Parse(Console.ReadLine());
volume = 1.0 / 3.0 * Math.PI * radius * radius;
Console.WriteLine("Volume is {0:0.00}", volume);
Console.WriteLine("Largest number: Enter 3 numbers - press 'Enter' key after each");
Int32 num1, num2, num3, high, high2;
num1 = Int32.Parse(Console.ReadLine());
num2 = Int32.Parse(Console.ReadLine());
num3 = Int32.Parse(Console.ReadLine());
high = Math.Max(num1, num2);
high2 = Math.Max(high, num3);
<body>
<h1>This is about nesting</h1>
<p>
a bird nest is the spot in which a bird
<strong>
<em>lays</em>
double aSide, bSide, cSide;
Console.WriteLine("Enter the value of side A");
aSide = double.Parse(Console.ReadLine());
Console.WriteLine("Enter the value of side B");
bSide = double.Parse(Console.ReadLine());
cSide = Math.Sqrt((aSide * aSide) + (bSide * bSide));
Console.WriteLine("the length of the hypotenuse will be {0:0.00}", cSide);
Console.ReadLine();
//Higest of Two Numbers #1
//get first and second
Double first, second, highest;
String message;
Console.WriteLine("Enter first number");
first = Double.Parse(Console.ReadLine());
Console.WriteLine("Enter second number");
second = Double.Parse(Console.ReadLine());