Computer Science, asked by asriramteja, 4 months ago

John is going through his family photo album. There is a total of N people in the
family labeled from 0 to N - 1.
Find out the number of members of his family who have more than or equal to X
children.
Input Specification:
input1: N, denoting the total number of family members.
input2: X, denoting the minimum number of children a family member should
have in order to be included in John's final set.
input3: An array of N elements where the ith element denotes the parent of
the ith index. If the value of the element is -1, then that family member has no
parent.

Answers

Answered by TANI8H
6

Answer:

Explanation:

The matrix whose every element is zero is called a null or zero matrix and it is denoted by 0. Thus for A and 0 of the same order we have A + 0 = A. For example, [00] is a zero matrix of order 1 × 2. [00] is a zero or null matrix of order 2 × 1.

Answered by Sanumarzi21
22

hope it helps u dear ☺️✍️☺️

Attachments:
Similar questions