From 67bb27e9f5beec4d8ca0a6c29f045d5f23d6f40f Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 28 Feb 2021 17:25:57 +0700 Subject: [lang] Reorganize language learning archive --- cpptour/square.cc | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 cpptour/square.cc (limited to 'cpptour/square.cc') diff --git a/cpptour/square.cc b/cpptour/square.cc deleted file mode 100644 index fb14456..0000000 --- a/cpptour/square.cc +++ /dev/null @@ -1,21 +0,0 @@ -#include - -using namespace std; - -double -square (double x) -{ - return x * x; -} - -void -print_square (double x) -{ - cout << "the quare of " << x << " is " << square (x) << endl; -} - -int -main () -{ - print_square (1.234); -} -- cgit 1.4.1