program for validity of triangle from 3 side
Answers were Sorted based on User's Feedback
Answer / pritam
if(a < (b+c))
if( b < (c+a))
if(c < (a+b))
printf("its a triangle\n");
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / rakesh ranjan
I AGREE WITH PRITAM AND MANU
................................
Abhradeep Chatterjee is a real STUPID
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / abhradeep chatterjee
No above two answers are not corret, because i am not sure
about the shape and angle of the triangle.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / abhradeep chatterjee
yes, the above two answers are correct.
Is This Answer Correct ? | 1 Yes | 3 No |
write a c program for swapping two strings using pointer
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
What is the use of bitwise operator?
Explain the Difference between the New and Malloc keyword.
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
how can i get this by using for loop? * ** * **** * ******
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
how could explain about job profile
Hi can anyone tell what is a start up code?
What is function prototype in c language?
#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }
Can you define which header file to include at compile time?