1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
2
Random lnsanity / lol, C++
« on: February 22, 2012, 01:02:46 am »Quote
#include <iostream>
using namespace std;
void divisibleBy (int x){
void divisibleBy (int x){
if (x % 5){
cout << "is divisible by five " << endl;
}else{
cout << "is not divisible by five " << endl;
}
if (x % 10){
cout << "and divisible by ten" << endl;
}else{
cout << "but not divisible by ten" << endl;
}
}
int main()
{
int b;
char Answer;
cout << "Please enter a number" << endl;
cin >> Answer;
divisibleBy(Answer);
return 0;
}
I'm making a function to see if a number the user inputs is divisible by five and ten. The problem I'm having is that no matter what number I put in, it says it's divisible by both five and ten.
Edit: Made that change and now it's telling me numbers that are divisible by five aren't.
4
Tech Trades / Selling tech 6mil/150
« on: April 27, 2011, 12:09:59 am »
I will keep selling to whoever gets the slot until it's time for me to start buying.
All sales final. No refunds.
All sales final. No refunds.
7
Tech Trades / 3mil/50 tech
« on: January 12, 2011, 09:58:11 pm »
Two slots open, so the first two offers I get will get the tech.
9
Ambassador Sign-Ups / You know the drill.
« on: July 25, 2010, 02:21:03 am »
Cat Land embassy please.
10
Ambassador Sign-Ups / CRAP mask request.
« on: June 21, 2010, 08:13:32 pm »
Your Nation's Ruler: SWAT128
Your Alliance: Coalition of Royal Allied Powers
Your Alliance's Initials: CRAP
Your Alliance's primary team color: Maroon
URL to your alliance's forum: http://s1.zetaboards.com/CRAP_Alliance/index/
I'm such an alliance hopper.
Your Alliance: Coalition of Royal Allied Powers
Your Alliance's Initials: CRAP
Your Alliance's primary team color: Maroon
URL to your alliance's forum: http://s1.zetaboards.com/CRAP_Alliance/index/
I'm such an alliance hopper.
13
Random lnsanity / I hardly make topics here.
« on: February 22, 2010, 10:03:17 am »
Now that I've made one, what should I do?
16
Tech Trades / Buying tech.
« on: October 01, 2009, 11:09:36 pm »
Just going to fill two slots. 3/100 deals only.
18
Ambassador Sign-Ups / God damn you SWAT, not another embassy!
« on: September 12, 2009, 12:15:40 am »
Your Nation's Ruler: SWAT128
Your Alliance: The Corporation
Your Alliance's Initials: Corp
Your Alliance's primary team color: Yellow
URL to your alliance's forum: http://cn-corporation.com/index/
Your Alliance: The Corporation
Your Alliance's Initials: Corp
Your Alliance's primary team color: Yellow
URL to your alliance's forum: http://cn-corporation.com/index/
SMF 2.0.15 |
SMF © 2017, Simple Machines
Scratch Design by DzinerStudio
Page created in 1.321 seconds with 23 queries.
Scratch Design by DzinerStudio
Page created in 1.321 seconds with 23 queries.
Triumvirate:
Shadow
Head of Foreign Affairs:
Brian
Head of Internal Affairs:
Croix
Head of Military Operations:
im317
Shadow
Head of Foreign Affairs:
Brian
Head of Internal Affairs:
Croix
Head of Military Operations:
im317
Tweets by @_FloridaMan