Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side.

A+B>C
B+C>A
A+C>B.

need urgently. thank u... by priya

Answers were Sorted based on User's Feedback

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.

 Is This Answer Correct ? 22 Yes 6 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Step1:

Check They are tringle or not

The sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.

Step II:

Check for Scalene:-

A not equal to B not equal to C

Check for isoceles:-

A=B or B=C or A=C

Check for Equilateral

A=B=C.

Thanks

 Is This Answer Correct ? 17 Yes 4 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

the test casse for traingle could be written with the help
of assigning 3 values to 3 sides of the triangle.Possible
test cases for triangle are:

Input condition Output

10,10,10 Equilateral
10,5,4 scalene
10,10,5 Isosceles
0,10,5 invalid
0,0,0 invalid
-7,10,10 invalid
10,5,7,10 invalid
10,2,3 invalid(sum should be greater)
10,5,_(blank) invalid

 Is This Answer Correct ? 14 Yes 6 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

write the test cases for c=a+b and the sum is not greater
than 10,

need urgently. thank u... by sheetal

 Is This Answer Correct ? 2 Yes 2 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

2,3,4
2+3>4
3+4>2
2+4>3

:)

 Is This Answer Correct ? 2 Yes 2 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

to test if 3 sides form a triangle, test cases are:
1. three edges a, b and c are not in the same line
2. None of the three sides AB, BC or CA is of zero length

 Is This Answer Correct ? 4 Yes 10 No

More Test Cases Interview Questions

What is port testing ?

Please can any one tel how to write the test cases for these Requirements:- 1.The applications sends the periodic data 2.The applications sends the alarm data 3.The Application stores the Periodic data and alarm data if it is unable to send 4.the application having the configure through GPRS or SMS

test cases for traffic signals in a four raod junction.

Define some of the attributes of a test case?

what test case is written specifically for web applications?

What are the test cases, we can write for Data Grid. Anybody can help me..Thanks in advance.

Give examples of boundary value and equivalence partitioning test cases.

I have register form there is first name field.what will be the steps to execute test case???

can anyone please send me the sample testcases on how to write it into the testtemplates

Write the 10 test cases for Telephone/Pen.

Define Testcase.

write a test case for employee income caculation it is awindows aplication when window is opened all options should be disabled except empno when user enter 3 charcters empname,empdes,basic should be displayed but they should be inactive,HRA,DA are active enter these two gross is displayed,enter tax then net income is displayed.all inputs must be integers and min is 1 and max is 4 charcters for all text boxes.gross =basic+HRA+DA and netincome= gross- tax

Categories