Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Compute Power Manually
//clang 3.8.0 #include <iostream> using namespace std; int main() { int exponent; float base, result = 1; cout << "Enter base and exponent respectively: "; cin >> base >> exponent; cout << base << "^" << exponent << " = "; while (exponent != 0) { result *= base; --exponent; } cout << result; return 0; }
run
|
edit
|
history
|
help
0
Dat pointers
hw1 Os
Composite pattern
Throttle Example in C++ (80 requests every 2 seconds)
Initialise arrays with N number
Pointer array
Vector of pointer of P...
Ordered Graphs
IsContainer
MiniumNumberDivideConquer