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

Remainders

Name: Anonymous 2013-03-13 10:05

Hey, everyone, this is my first time and I need a hand with something.

I'm really new to programming and need a bit of help with an assignment. Everything in the assignment works but I need to make it so that when 'result = 31' that 'day = 31' when 'day = result % 31', but without using IF statements.

Can someone help me, please?

Name: Anonymous 2013-03-13 10:10

This is using C by the way, and pretty basic programming.

Name: Anonymous 2013-03-13 10:12

teachers are evil. be glad they don't force you to format text using recursion only like they did to me

Name: Anonymous 2013-03-13 10:13

He actually really nice to me :) But I wanna kinda impress him by not using his help for this one...

Name: Anonymous 2013-03-13 10:14

Hey, everyone, this is my first time and I need a hand with something.

I'm really new to using toilets and need a bit of help with an assignment. Everything in the taking a shit process works but I need to wipe my ass without using toilet paper, water or hands.

Can someone help me, please?

Name: Anonymous 2013-03-13 10:31

>>1
(+ 1 (remainder (- result 1)))

Name: Anonymous 2013-03-13 10:44

>)))

^_^

Name: Anonymous 2013-03-13 11:11

>>7
they're actually quite beautiful if you use rainbow-delimiters

Name: Anonymous 2013-03-13 12:35

>>7
You'd rather
            }
        }
    }
? Go suck both Ritchie and Kernighan AND the Algol committee's collective decomposed penises, you plen.

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