# include & ltmath.h & gt
# include & ltiostream & gt
# include & lt string & gt
Use namespace std
void main()
{
Double a, b, c; //The first parameter in the //pow function prototype must be double or float, so it can only be defined as float or double when it is defined.
a =- 10;
b=pow(a,2);
c =(int)b % 2; The//%operator cannot have a double type, so it is cast to an int type.
STD::cout & lt; & lt" a = " & lt& lta & lt& ltendl
STD::cout & lt; & lt" b = " & lt& lta & lt& ltendl
STD::cout & lt; & lt" c = " & lt& ltc & lt& ltendl
}
Is that clear?