#include <cstdio> using namespace std;int main(){int i,j;for(i=5;i>=1;i--){for(j=5;j>=i;j--){printf("%d",j);printf("\n");}}}
Standard input is empty
5 5 4 5 4 3 5 4 3 2 5 4 3 2 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!