Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #define _USE_MATH_DEFINES
- #include <iostream>
- #include <time.h>
- #include <cmath>
- #include <stdio.h>
- using namespace std;
- int main() {
- int i;
- const int n=15;
- double arr[n];
- i = 0;
- for (; i <= n; i++) {
- arr[i] = rand();
- cout << arr[i] << "\n ";
- }
- system(" pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement