Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <cmath>
- #include <math.h>
- using namespace std;
- int massive[100];
- int d;
- int positive = 0;
- int main(int argc, const char * argv[]) {
- cin >> d;
- for(int i = 1; i <= d; i++){
- cin >> massive[i];
- }
- for(int i = d; i >= 1; i--){
- cout << massive[i] << " ";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement