All pastes #14791 Raw Edit

WTF is wrong here

public text v1 · immutable
#14791 ·published 2005-06-16 19:54 UTC
rendered paste body
//This program uses a for loop and a while loop to display the squares of the even numbers from 10 through 25
*/

#using <mscorlib.dll>
using namespace System;

int main()
{
	//declare variables
	double num1 = 0;
	double startWith = 0;
	double endWith = 0;

	Console::Write("Enter a number: ");
	num1 = Convert::ToDouble(Console::ReadLine());

	if (startWith == 10)	
	{
		//perform loops
		num1 = 10;
		while (num1 >= 10)
		{
			while (num1 <= endWith)
			{
				Console::Write("*");
				num1 = Math::Pow(num1, 2);
			}//end while
			Console::WriteLine();
		}//end while
	}
	else if (endWith == 25)
	{
		num1 = 25;
		//perform loops
		while (num1 <= 25)
		{
			while (num1 <= endWith)
			{
				Console::Write("*");
				num1 = Math::Pow(num1, 2);
			}//end while
			Console::WriteLine();
		}//end while
	}   //end if
	else
	{
		Console::WriteLine("Error");
	}
	
	return 0;
}   //end of main function