Created
June 23, 2014 13:45
-
-
Save dsouzadyn/51bd04eede5859f6441c to your computer and use it in GitHub Desktop.
Cpp Pattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main(){ | |
| for(int a = 1;a <= 5;a++){ | |
| for(int b = a; b > 0;b--){ | |
| cout<<b<<" "; | |
| } | |
| cout<<endl; | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment