Commit 5a9f78e1 authored by s-jdoyle4's avatar s-jdoyle4
Browse files

Answer to 8b

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