Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- #include <stdlib.h>
- int main() {
- int A[30];
- int account = 0;
- for (int i = 0; i < 30; i++) {
- printf("Введите число в массив: "); scanf_s("%d", &A[i]);
- if (A[i][j] >= -10 && A[i][j] <= 10) {
- account++;
- }
- }
- printf("Кол-во: %d", account);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement