Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h> /* sin */
- using namespace std;
- int main()
- {
- int n;
- cout << "pleace type number in range 0 - 1" << endl;
- cin >> n;
- double arr[5][5] = {
- {6.12, 8.11, 13.30, 4.22, 7.11},
- };
- for (int i = 0; i < (sizeof(arr)/sizeof(*arr)); i++){
- for (int j = 1; j < (sizeof(arr[i])/sizeof(*arr[i])); j++){
- double curent_sin = sin (arr[i][j]);
- if (curent_sin >= n && curent_sin <= n){
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement