169k views
0 votes
Given an int variable count that has already been declared , write a for loop that prints the integers 50 through 1, separated by spaces. use no variables other than count.

1 Answer

5 votes
#include <stdio.h>

for( count = 50; count > 0; count-- )
printf( "%d ", count );
User Jahmel
by
7.8k points