generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » ROBLOX Talk
Home Search
 

Re: C++ Code

Previous Thread :: Next Thread 
JEFF447 is not online. JEFF447
Joined: 24 Apr 2009
Total Posts: 322
08 Feb 2012 04:37 PM
#include (iostream)
using namespace std;

int main()
{
int n;
cin>>n;
if(n%2==0)
cout((n/2*n/2((endl;
else
cout( (n/2*(n+1)/2((endl;
for(int i=1;i<=n/2;i++)
for(int j=n/2+1;j<=n;j++)
cout< < i< <" "< < j< < endl;
return 0;
}
Report Abuse
completelyawesome is not online. completelyawesome
Joined: 15 Jul 2010
Total Posts: 3538
08 Feb 2012 04:37 PM
I'm taking that class next year. :)
Report Abuse
FleskhjertaOwns is not online. FleskhjertaOwns
Joined: 15 Sep 2008
Total Posts: 18913
08 Feb 2012 04:38 PM
tell me what the first 10 pieces of code means/does
Report Abuse
Gaomon94 is not online. Gaomon94
Top 50 Poster
Joined: 22 Oct 2007
Total Posts: 74936
08 Feb 2012 04:38 PM
< head >
< title >
I don't know
< / title >
< / head>
< body >
< p > I have a sneaky feeling you copied that. < /p >
< / body >
Report Abuse
mustyoshi is not online. mustyoshi
Top 50 Poster
Joined: 27 Dec 2007
Total Posts: 41651
08 Feb 2012 04:38 PM
I prefer cstdio
Because it doesn't bloat my exes.
And I like printf

~Monica
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image