+ 1
Plz what is the syntax for the square?
square syntax
5 Respuestas
+ 12
If you want to calculate a^2, use pow(a,2). You'll need to include header file for this (I think cmath)
+ 10
int n = 5;
int n_squared = n*n;
+ 4
tks to you all you helped me
square syntax