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..

Answer / ishak

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..

Answer / puja

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..

Answer / pepsi123

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 7 No

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

Answer / sheetal

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..

Answer / venki

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..

Answer / rashmi garg

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

Post New Answer

More Test Cases Interview Questions

hi can anybody can write the test cases for sticky note

4 Answers   Google,


How will you review test cases?

26 Answers   HCL, TCS,


how to search a Unix file system in Google search engine??? write the test cases foe that one???what will be the step

0 Answers  


what would be the negative test case for serach that break the search .

3 Answers  


write a test case on web login and bank application and client server

60 Answers   Adobe, Ciber, CTS, Login, MBT, Reliance, Semantic Space, TCS, Tech Mahindra,






i'm confused to wite a Test Scenarios. can any one help me how to start?

3 Answers   IBM,


Hai, Could anybody please let me know, how to calculate the number of test cases required to test a program. Please provide me the answer for the following question: “What type of ticket do you require, single or return?”IF the customer wants ‘return’Ask: “What rate, Standard or Cheap-day?”IF the customer replies ‘Cheap-day’Say: “That will be $11:20”ELSESay: “That will be $19:50”ENDIFELSESay: “That will be $9:75”ENDIFNow decide the minimum number of tests that are needed to ensure that allthe questions have been asked, all combinations have occurred and allreplies given. a) 3 b) 4 c) 5 d) 6

1 Answers  


how to execute test cases manually

1 Answers  


Test a function that reads a file into memory, say ReadFileToMemory( FILE * pFile, BYTE * pMem, DWORD numBytes)

0 Answers   Microsoft,


suppose an interviewer asks you to write a testcase for a login window (and application is not given to test). Should we write actual results or expected results or both?

3 Answers  


how to write the test cases in excel format

0 Answers  


how to test an imaging application that removes the red eye affect from an image?

1 Answers   Adobe,


Categories