From 235bbe2ccc3565f8af02f9cddd76b8937f6dff33 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Thu, 28 Oct 2021 10:51:25 -0400 Subject: Rename exercise 8 - dollar pyramid.cpp to exercise 08 - dollar pyramid.cpp --- Sem. 03/solutions/exercise 8 - dollar pyramid.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Sem. 03/solutions/exercise 8 - dollar pyramid.cpp (limited to 'Sem. 03/solutions/exercise 8 - dollar pyramid.cpp') diff --git a/Sem. 03/solutions/exercise 8 - dollar pyramid.cpp b/Sem. 03/solutions/exercise 8 - dollar pyramid.cpp deleted file mode 100644 index 65f6106..0000000 --- a/Sem. 03/solutions/exercise 8 - dollar pyramid.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include -using namespace std; - -int main() -{ - - int n; - cin >> n; - - for(int i = 1; i <= n; i++) - { - for(int j = 1; j <= i; j++) - cout << "$" << " "; // print as many dollars as the number of the current row - - cout << endl; - } - - return 0; -} \ No newline at end of file -- cgit v1.3.1-26-gb76a