Commit 1c42614b authored by s-jdoyle4's avatar s-jdoyle4
Browse files

Answer to 8c

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