| | |
C program for a power function
![]() |
0
#11 32 Days Ago
Try changing int x to double x and change line 9 to:
When you declare power as double, that means the return value must be also be double.
c Syntax (Toggle Plain Text)
double s = x * num;
Check out my new band URL on facebook. I'm the bass player. :) Become a fan and leave comments if you like.
URL on facebook!
URL on facebook!
![]() |
Similar Threads
- Square root program without sqrt or pwr (C++)
- power funciton (C)
- Anyone able to help with a part of my program in C++ (recursive function)? (C++)
- how to write a program for power (C)
- How to program speech function for online dictionary (PHP)
- Recursion Function Problem (C++)
- Help with Java program writing (Java)
- PHP hold program execute function (PHP)
- Need help writing a program (C++)
Other Threads in the C Forum
- Previous Thread: C language help required (2 Questions here )
- Next Thread: pass excel sheet in linux C using libxls
| Thread Tools | Search this Thread |
adapter apple battery beep bsod cia commodityhardware cpu crime dead dell electricity energy environment failure green grid hacking iphone laptop licensing linux maxtor microsfot mobile mobo news opinion partition pc phone power ram recovery safety security sony supply terrorism undelete virtualization vista windows






