Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include <conio.h>
- #include "stdafx.h"
- #include <iostream>
- #include <conio.h>
- #include <stdio.h>
- using namespace std;
- class slark;
- int _tmain(int argc, _TCHAR* argv[])
- {
- int a = 5, b = 10, slark;
- int *z;
- z = new int[10];
- z = { 2 + 1 + 3 + 2 + 5 + 6 + 7 + 8 + 1 };
- cout << "massiva" << endl;
- int array1[5] = { 9 + 5 + 7 + 8 + (-7) };
- slark = a / b;
- cout << "a/b" << endl;
- cout << "indeks" << "\t\t" << "massiv" << endl;
- for (int counter = 0; counter < 5; counter++)
- {
- cout << "array1[" << counter << "]" << "\t\t" << array1[counter] << endl;
- }
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement