User profile: pnoid

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

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...

Simple Calculator
You already have the function for add, so just create functions for the other operations and add som...