Commit bf6af59b authored by s-jdoyle4's avatar s-jdoyle4
Browse files

Answer to 8d

parent 1c42614b
#include <iostream>
int main()
{
using std::cin;
using std::cout;
int i; double x, y;
x = 1; y = 2;
for( i=1; i<=5; i++ )
y *= x; x *= y;
cout << "x is" << x;
return 0;
}
File added
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment