so we have 7 sets in an exam due in two days time
we'd modify the code given, but seriously i can't figure each out even though
it's seriously basic
1 2 3 4 5 6 7
|
int=5
for (int=0,i<x;i++)
for(int j=0;j<x;j++)
cout<<"O";
cout<<"/n"
}
//some codes over here
|
the first was already done,
while the rest of six sets give me so much trouble
second goes like this,
2. Modify the codes so that it output an NxN hollow box
3. Modify the code to and output an N-diagonal
4. Modify the codes to output an "X"
5. Modify the code and output a right triangle
6. Modify the code to input N-diamond
7. In math there is what we call the fibonacci sequence, make a program that will output the up to the nth fibonacci number
Please help out, seriously I'm failing my programming class
though it isn't related to my course(which is architecture)
and i need to maintain my grades to keep my scholarship.
please help TwT