/*
ZOMG RECTANGLES!1!!1!!1
Richard Ward
((Why am I not doing one of the 2384092834 programs that I should be?))
*/
#import <iostream>
using namespace std;
int main()
{
int length, width;
cout << "ZOMG RECTANGLE! Insert in the length and width..." << endl;
cout << "Lenth: ";
cin >> length;
cout << "Width: ";
cin >> width;
system ("cls");
cout << "+";
for (int i = 0; i<=length; i++)
cout << "--";
cout << "+" << endl;
for (int i=0; i<=width; i++)
{
cout << "|";
for (int j=0; j<=length; j++)
cout << " ";
cout << "|" << endl;
}
cout << "+";
for (int i = 0; i<=length; i++)
cout << "--";
cout << "+" << endl;
cout << "ZOMG RECTANGLE!!!" << endl;
system ("pause");
}
Okay, so maybe it's not a game... but it was a great way to waste time... I dunno if it's even useful for anything... unless you need some sweet ascii rectangles.