0

How to tipe 2² in dev c++

Pls someone know ho to tipe 2², 3^6, 5^10..... in dev c++? I cant copy this to my code and i dont know how to tipe it. THX

3rd Nov 2016, 2:48 PM
P3RS0N
P3RS0N - avatar
8 Réponses
+ 1
pow(2,2); //2^2 pow(3,2); // 3^2 or 2*2 you can use to get value
3rd Nov 2016, 2:57 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
use Objem=(3.14*pow(12,2)*25); but I have a question is your code not working properly.
3rd Nov 2016, 4:12 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
thx and how can i use pow in this? USHORT Objem = (3,14*(12*12)*25);
3rd Nov 2016, 3:57 PM
P3RS0N
P3RS0N - avatar
0
what is 3,14? is it 3^14, please tell me
3rd Nov 2016, 4:03 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
3,14 is number Pi. idk if in eng is pi same like in my language :D
3rd Nov 2016, 4:07 PM
P3RS0N
P3RS0N - avatar
0
its all about 12*12 = 12^2
3rd Nov 2016, 4:08 PM
P3RS0N
P3RS0N - avatar
0
thx my code working properly i wanted just this ask. but i have one more question but i made new question in this topic. Try look at it :)
3rd Nov 2016, 4:15 PM
P3RS0N
P3RS0N - avatar
0
name of discuss is decimal point if u want look at it
3rd Nov 2016, 4:16 PM
P3RS0N
P3RS0N - avatar