how to Decrements value  in  c/c++ for loop

#include <stdio.h>
int main()
{
int i,n;
scanf(“%d”,&n);
printf( “Decriment valu \n”);
for( i = n; i >= 0; i– ) {
printf( “%d “, i );
}
return 0;
}

Leave a reply