Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Laba_4.3_II_var.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- int k,i;
- double mas[100000];
- cout<<"Vvedite kol-vo simvolov: \n";
- cin>>k;
- for(i=k-1;i>=0;i--)
- {
- cin>>mas[i];
- }
- for(i=0;i<k;i++)
- {
- cout<<mas[i]<<" ";
- }
- cout<<endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment