How to write the code which uses exponent operators?? | Sololearn: Learn to code for FREE!

0

How to write the code which uses exponent operators??

c++

7/22/2018 9:18:04 AM

Nguyễn Quang Huy

3 Answers

New Answer

+1

std::pow method available in cmath header

+1

#include <iostream> #include <cmath> using namespace std; int main() { cout<<pow(2,3); return 0; }

0

can you write the whole code??