Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- double a[1000], r[1000];
- unsigned int b;
- int main()
- {
- cin >> b;
- for(int i = 1; i <= b; i++)
- {
- cin >> a[i];
- r[i] = a[i];
- }
- for(int g = b ; g >= 1; g--)
- {
- cout << r[g]<<' ';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement