in Education by
{ int ar[] = { 3, 1, 4, 6, 5 }; int ar_size = sizeof(ar) / sizeof(ar[0]); isTriplet(ar, ar_size) ? cout << “Yes” : cout << “No”; return 0; } Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Pythagorean Triplet

Related questions

0 votes
0 votes
    >>> list(range(0, -9,-1)) will print [-1, -2, -3, -4,-5, -6, -7, -8) [0,-1, -2, -3, -4,-5, -6, -7, -8 ... [0,-1, -2, -3, -4,-5, -6, -7] Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    do you think the following two expression are the same if yes write the output if not justify your answer X=int(22/7) X=(22.0/7) Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    What is the output of the below program? #include int main() { printf("%u",sizeof(NULL)); return 0; }...
asked Jan 23, 2021 in Technology by JackTerrance
0 votes
    int fun(int n) { if(n!=0) { return n – fun(n-5); } else { return n; } } int main(){ int n = 20, z; z = fun(n); printf(“%d”, z); } Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
0 votes
    Expand the abbreviations. 1. SAARC 2. ASEAN 3. OPEC 4. NIEO 5. NAFTA 6. OAS 7. WTO Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    re arrange these words: (1)INFRMAAME, (2)ACINTOSHM,(3)AVIGATIONN(4),HDIE (5)YOUTLA, (6)ianm tcuneodm. Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    re arrange these words: (1)INFRMAAME, (2)ACINTOSHM,(3)AVIGATIONN(4),HDIE (5)YOUTLA, (6)ianm tcuneodm. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    int find(int i) { if(>1) j=find(j/10)+(j%10) else j=0; return j; void main() int i=1000 int k k=find(i): printf(“%d”, K) Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    m 1) Int a=0.b=20; for (int i=20;i>=4;i=i-3) { if(i%21=0 a=a+2; ) b=b+a: predict the value of b after execution Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Int a=0.b=20: for (int i=20:i>=4:i=i-3) { if(i%2!=0) a=a+2: 3 b=b+a: . Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    For a loaded die, the probabilities of outcomes are given as under: P(1) = P(2) = 0.2, P(3) = P(5) ... or not A and B are independent. Select the correct answer from above options...
asked Nov 20, 2021 in Education by JackTerrance
...