Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / Pract. 05 / input.cpp
diff options
context:
space:
mode:
1 files changed, 7 insertions, 0 deletions
-rw-r--r--pract_SI/Pract. 05/input.cpp7
diff --git a/pract_SI/Pract. 05/input.cpp b/pract_SI/Pract. 05/input.cpp
new file mode 100644
index 0000000..9b8c5da
--- /dev/null
+++ b/pract_SI/Pract. 05/input.cpp
@@ -0,0 +1,7 @@
+#include <iostream>
+
+void input(int *arr,const int size)
+{
+ for (int i = 0; i < size; i++)
+ std::cin >> arr[i];
+}