Tuesday, July 28, 2009

Calculate the (power) get a double m, n=2 ; int nI don’t know C++ program I want this problem used c++ codin

#include%26lt;iostream.h%26gt;


void main()


{


double m, power;


cin%26gt;%26gt;m;


power=1.0;


int n=2;


int nl;


for (nl=1;nl%26lt;2;nl++)


{


power*=m;


}


cout%26lt;%26lt;power;


}





it sud work

Calculate the (power) get a double m, n=2 ; int nI don’t know C++ program I want this problem used c++ codin
the first step you have to take to learn how to program is learning how to speak clearly


c l e a r l y


very clearly


so people can understand your questions


and help you


:)


moron
Reply:wow... look at the pretty letters.
Reply:float m;


int n;


float power;


for{(int i = 1 ;i%26lt;n;i++)}


m = m*m}


i = 2
Reply:15677575484868115349846+479/715646489789...


5++54+8675+9...ok
Reply:float powerM=12;


int number=2;


for(int i=1; i%26lt;=powerM; i++){


number*=number;


}





your question was kinda incoherent, but still understandable.


No comments:

Post a Comment