just keep the spam in one thread so we can get this thread extra long :)
|
respam
|
respam
|
respam1
|
respam1
|
respam2
|
respam2
|
respam3
|
respam3
|
Le spam du spammer
|
Le spam du spammer
|
#include <iostream.h>
#include <conio.h> //Returns the factorial of n int Factorial(int n) { //Loop variable int i; int Result; //Initialize the result Result = 1; //Now multiply by 1 .. n for (i = 1; i < n; i++) Result *= i; return Result; } void main() { int n; //Get a value cout << "Welcome to the oh-so-leet Grandfather price calculator" << endl; cout << "How many Grandfathers are you planning on selling?" << endl; cin >> n; //Print the factorial cout << Factorial(n); //Now pause until user hits a key cout << "\nYou would obviously get $" << Factorial(n) << " dollars out of that Ebay sale" << endl; cout << "Remember that Chruser owns you" << endl; while (!kbhit()); } |
#include <iostream.h>
#include <conio.h> //Returns the factorial of n int Factorial(int n) { //Loop variable int i; int Result; //Initialize the result Result = 1; //Now multiply by 1 .. n for (i = 1; i < n; i++) Result *= i; return Result; } void main() { int n; //Get a value cout << "Welcome to the oh-so-leet Grandfather price calculator" << endl; cout << "How many Grandfathers are you planning on selling?" << endl; cin >> n; //Print the factorial cout << Factorial(n); //Now pause until user hits a key cout << "\nYou would obviously get $" << Factorial(n) << " dollars out of that Ebay sale" << endl; cout << "Remember that Chruser owns you" << endl; while (!kbhit()); } |
Download the program here:
http://hem.passagen.se/chruser99/Calculative.exe |
Download the program here:
http://hem.passagen.se/chruser99/Calculative.exe |
Oops, copy and paste :/
|
Oops, copy and paste :/
|
i like tea with ice cream :flipper: :flipper:
|
i like tea with ice cream :flipper: :flipper:
|
i like ice cream
|
All times are GMT -6. The time now is 09:24 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.