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

Answer to 8a

parent e255d6ec
#include <iostream>
int main()
using std::cin;
using std::cout;
int i; double x;
for( i=1; i<5; i++ )
x = i+x / 2.0;
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