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]<