| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> well.. .thx again all .. have a great night! <1> I get 176.352 is I first subtract payment and then multiply with 1.015 <2> You have to understand that it's 1000 times better for them to suffer now with a bad grade and a changed major than to suffer later after a $50,000 college investment and no career options <1> s/is/if/ <2> Yeah, Run, but that wouldn't give you that 965 value for the second month <2> So his professor gave a great hint <2> Albeit one that shouldn't have been necessary if he'd explained how interest is calculated in the first place <2> Night, Enzo <2> I dunno where you got 197.827, though <2> Apparently that's the gaey factor <1> double debt = 1000; double payment = 50; <1> for (int month = 0; month < 24; ++month) { debt *= 1.015; debt -= payment; } <1> std::cout << 24 * payment - 1000 + debt << std::endl; <1> Thats what I wrote :) <2> Oh wait, that's what I got too <2> It can't be gaey
<2> Yeah, the excel spreadsheet was easy enough, should be a cinch to code <2> ++month, eh <2> You damned hackers! <2> I just take comfort in having produced the correct output 16 minutes before you did <2> :D <1> I wasn't here until I typed my chess move, e2-e4 :p <2> Hehe <1> hmm, took me 9 minutes thus <1> including scrolling back for the problem that is :p <1> I should be in bed an hour ago :/ <2> Hehe <1> guess I better go <1> night <2> Alright <2> Sleep well <3> where's khan <3> has he been swallowed by a whale <2> Evidently <2> He was looking into a new job last I talked to him <2> He was fine at his old job, just bored with it <3> wtf <2> Far as I know he hadn't quit, so maybe he finally did and changed to the new job <3> how many months has it been, looking for new job <2> Or something <3> oh ok <3> or got swallowed by a whale <2> Yeah, or that <3> maybe you pwned him so hard at BF2 that he disappeared <3> hoho <4> I heard being swallowed by whales is the new craze amongst european tourists. Even have McDonalds in there now. <2> Heh <2> Last Battle On January 2, 2006, 9:33 am <2> Last time Khan played BF2 <2> Maybe he lost his internet connection somehow <2> We'll find out one way or another <5> what does the operator ++ do? <5> i know its add. <5> but how? <5> i'm lookin all over my book <5> and i see == but no ++ <6> ; x++ ; is the same as x=x+1; <6> increment x <6> -after- use <5> lets say n = 5? <7> x++ is the same as a++ if x = a <5> 5 + 1 = 6? <5> i'm slow at this **** <5> sorry. <6> wow you cna add up lol <6> :) <5> got a midterm tomorrow. <5> is it like that? <6> int n=5; n++; /* n = 6 */ n++ /* n = 6 */ <6> erm <6> 6 / 7 <7> x++ is the same as a++ if a = y and x = y <6> copy paste :P <5> man, i don't wanna sound stupid. <5> but i really am.
<7> heh <7> don't bother <5> is it cool if i paste a problem on my mock midterm? <7> we know <7> ;) <5> <^> :) <6> emp3d: read the topic <6> eg, dont paste in channel :P <5> lol <6> but you are welcome to put it on the paste site <5> http://www.noidea128.org/sourcefiles/15925.html <5> here we go! <5> just lookin' at all the /= gets me confused ;[ <7> link besoinde***e.com <7> oops <6> so n becomes 12 <8> besoin de la main droite <5> okay so <5> ++ basically means +1 <7> heh <5> -- basically means -1 <5> and /= = divide? <5> and so on and so forth? <6> actually, + - / * = add substract divide multiply <6> += is add and ***ign back, /= is divide and ***ign back <6> eg, <6> a = a / b; <6> == a/=b <5> alright <6> line 4 could be rewritten as n*=3; <6> it is pretty basic stuff, and if you need to do this 1 hour before midterm... you were late :P <5> no <5> my midterm <5> is in like 20 hours <6> still late <6> i bet you knew it would be coming for a week :P <5> haha <5> i'm doin the mock midterm <6> but that is ok... we are used to it <5> i got 20 of 27 correct. <5> which is not bad, i guess. <5> i'm in the whole cwin <5> cout ****. <5> and thats not bad <5> but hwen it comes to math operators. <5> i'm ??? <6> thats not an operator :P <5> oh man, i'm in trouble. <5> haha <5> okay so n = 7 <5> then i do n++; = 8. <5> 8 /= 2; = 4? <5> 4 + 4*2 = 12? <6> bingo <5> so why not. <5> just use + / *? <6> it is shorthand, and programmers are lazy <6> you ARE using + / * <6> /= is / <5> oh. <5> thanks. :) <5> you're my hero. <5> if n = 7? <5> and its n+=2 <5> does that mean 9? <9> n = n + 2 <9> += *= /= all work the same <6> I think I just said that :P <9> you're just operating with n as the left hand operand <9> n += 2 is the same as n = n + 2 <9> n *= 2 is the same as n = n * 2 <6> yeah well he said it himself... <6> <5> man, i don't wanna sound stupid. <6> <5> but i really am.
Return to
#c++ or Go to some related
logs:
#AllNiteCafe #php #linux #linux install linux on mobile What ten volume tome did Victor Hugo give the world in 1862? #javascript Bye-Bye.Destiny #AllNiteCafe #AllNiteCafe
|
|