From 34ff6e7f3284d5581496f868b8b9a2f69a9955ad Mon Sep 17 00:00:00 2001 From: varunhhhrahul <44650484+varunhhhrahul@users.noreply.github.com> Date: Wed, 31 Oct 2018 23:50:20 +0530 Subject: [PATCH] Create test5.cpp --- test5.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test5.cpp diff --git a/test5.cpp b/test5.cpp new file mode 100644 index 0000000..6991892 --- /dev/null +++ b/test5.cpp @@ -0,0 +1,16 @@ +//reverse print +#include +using namespace std; +int main() +{ +int a[10]; +for(int i=0;i<10;i++) +{ +cin >> a[i]; +} +for(int i=9;i>=0;i--) +{ +cout << a[i]<