Re: My problem in C
For the second output question, you'll need to combine the original version of pattern 9, and the new version of pattern 9 with all the dashes stripped out, so it will count up on each row, and then down again. Using just the outer loops again as an example:
void main()
{
//print top half
for(int i=5;i>=1;i--)
{
//your code here
} //print bottom half for(int i=2;i<=5;i++) { //your code here } }
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector