#include <iostream>using namespace std; int main() { for (int i = 10; i >= 1; i--) { cout << i; if (i > 1) { cout << ", "; } } return 0;}
Standard input is empty
10, 9, 8, 7, 6, 5, 4, 3, 2, 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!