Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Equilateral triangle
#include <iostream> using namespace std; int main() { int a; cin >> a; for (int i = 1; i <= a; i++) { for (int j = 1; j <= a+i-1; j++) if (j <= a-i) cout << ' '; else cout << '^'; cout << endl; } }
run
|
edit
|
history
|
help
0
Updated Linked Lists - 5/10/2017 V3.0
СП КИ ЭТАП 2
CPP - Arrays - Ex.3
Stats - Central Limit Theorem - Normal Distribution with multiple items
Avoiding visited networked paths
ADVENTURE CODE CSCI 40
C++ virtual dispose
27
LRUCache
a