Advertisement
Guest User

3.2

a guest
Jun 20th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.65 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include <conio.h>
  4. #include "stdafx.h"
  5. #include <iostream>
  6. #include <conio.h>
  7. #include <stdio.h>
  8.  
  9.  
  10. using namespace std;
  11.  
  12.  
  13. class slark;
  14.  
  15.  
  16. int _tmain(int argc, _TCHAR* argv[])
  17. {
  18.     int a = 5, b = 10, slark;
  19.     int *z;
  20.     z = new int[10];
  21.     z = { 2 + 1 + 3 + 2 + 5 + 6 + 7 + 8 + 1 };
  22.     cout << "massiva" << endl;
  23.     int array1[5] = { 9 + 5 + 7 + 8 + (-7) };
  24.     slark = a / b;
  25.     cout << "a/b" << endl;
  26.     cout << "indeks" << "\t\t" << "massiv" << endl;
  27.     for (int counter = 0; counter < 5; counter++)
  28.     {
  29.  
  30.  
  31.         cout << "array1[" << counter << "]" << "\t\t" << array1[counter] << endl;
  32.     }
  33.  
  34.     _getch();
  35.     return 0;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement