Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Am I doin it rite?

Name: Anonymous 2007-03-08 16:11 ID:ko8I8fKq


#!/usr/local/bin/python
inc=0
length=int(raw_input("How long is looooooongcat?\n"))
print "    ^_____^            \n"
print "   /       \           \n"
print "  |  #    # |          \n"
print "  \     @   |          \n"
print "   \   _|_ /           \n"
print "   /       \________   \n"
print "  / ________  ___   \  \n"
print "  | ________   \ \__/  \n"
print "   |        \__/       \n"
while inc<length:
    print "    |        |        \n"
    inc=inc+1
print "   /          \        \n"
print "  /   ______   \       \n"
print "  |  /      \  |       \n"
print "  | |        | |       \n"
print " /  |        |  \      \n"
print " \__/        \__/      \n"

Name: Kyatto 2007-03-15 11:42 ID:kSDYLfDG

//Longcat for Visual Studio 2005 C++
#include <iostream>   //Includes input/output library
using namespace std;  //Removes need for std:: all the time

int longcat = 0;      //User input length of Longcat

int main()  //Main Function - required
{

cout << "How long is Looooooooongcat!?"  //Message output to user
cin >> longcat;  //User input

//Longcat image displayed on screen - cuter than before
//Head
cout << "    ^_____^            \n";
cout << "   /       \           \n";
cout << "  |  @    @ |          \n";
cout << "  \     v   |          \n";
cout << "   \   _|_ /           \n";
cout << "   /       \________   \n";
cout << "  / ________  ___   \  \n";
cout << "  | ________   \ \__/  \n";
cout << "   |        \__/       \n";

//Mid-section
for( int c = 0 ; c <= longcat ; c++)  //For loop - will output the mid-section of Longcat for as many units as stated by the user
{
cout << "    |        |         \n";  //Midsection to be output
} //End For Loop

//Legs
cout << "   /          \        \n";
cout << "  /   ______   \       \n";
cout << "  |  /      \  |       \n";
cout << "  | |        | |       \n";
cout << " /  |        |  \      \n";
cout << " \__/        \__/      \n";

//Post "Press any key to continue . . ."
system("PAUSE");  //Prevents program from closing as soon as everything has been output

return 0;  //Exits program
} //Close int main()

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List