How to represent '10^' in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to represent '10^' in C?

29th Jan 2018, 7:21 AM
Aditya
Aditya - avatar
2 Answers
+ 9
try to define a new function pow(x,n). in the main call that function and substitute x=10.
29th Jan 2018, 7:38 AM
Mazin Ayash
Mazin Ayash - avatar
+ 6
pow(10, n) from math.h
29th Jan 2018, 7:37 AM
Vlad Serbu
Vlad Serbu - avatar