Question #284711

Write a c Program that will print the number series vertically on screen:

10 1 9 2 8 3 7 4 6 5


Expert's answer

#include <stdio.h>
#include <string.h>
#include <ctype.h>




int main()int i,j=10;


	for (i=1;i<=j;i++, j--){ 
		printf ("%d %d ", j,i);
	}


	getchar();
	getchar();
	return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS