User profile: pnoid

User info
User name:pnoid
History
Joined:
Number of posts:79
Latest posts:

Strangest Programming glitches
I was working on this one project where I was working on the front end and another guy was doing the...

Sum of cubes giving wrong answer?
I have no idea. I ran it visual studio and it worked fine.

Sum of cubes giving wrong answer?
Your code worked for me. I used 6, 7, 8, 9, and 10 for N and it was right every time.

printf question
[code]printf("%5.1f", var);[/code] This tells the compiler to reserve 5 spaces for a floating point...

Simple Calculator
Professionally, you're more likely to encounter a situation like your professor presented, having to...