a 'c' program to tell that the set of three coordinates lie
on a same line

Answer Posted / vamshi krishna

write a code that checks area of triangle formula i.e
x1(y3-y2)+x2(y1-y3)+x3(y2-y1)=0.

if zero points lie on same line

Is This Answer Correct ?    27 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between text and binary i/o?

596


differentiate built-in functions and user – defined functions.

638


Why cant I open a file by its explicit path?

599


Whats s or c mean?

598


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

639






What is function definition in c?

594


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1475


What math functions are available for integers? For floating point?

629


What is the use of static variable in c?

599


What do you know about the use of bit field?

615


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1580


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1848


What is the use of bitwise operator?

694


What is 'bus error'?

651


What do you mean by c?

596