What do you want to save?
Add Code snippet
New code examples
-
Other 2021-08-31 10:26:02
star trek discovery temporada 3 capítulos
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <sched.h> #include <mman.h> #include <signal.h> #include <sys... Add solution -
Other 2021-08-28 01:22:01
create 2d array take input form user and write a display fuction to display in array format in c
#include<stdio.h> int main(){ /* 2D array declaration*/ int disp[2][3]; /*Counter variables for the loop*/ int i, j; for(i=0; i<2; i++) { for(j=0;j<3;j++) { printf("Enter value for disp[%d][%d]:", i, j);... Add solution -
C 2021-08-28 00:01:01
how to verify if its a triangle in c
/** * C program to check whether a triangle is valid or not if its sides are given */ #include <stdio.h> int main() { int side1, side2, side3; /* Input three sides of a triangle */ printf("Enter three sides of triangle: \n"... Add solution -
Other 2021-08-27 23:03:02
2. Write a C program to check whether a triangle is equilateral, isosceles or scalene triangle.
#include<stdio.h> int main(){ int side1, side2, side3; printf("Enter sides of triangle:"); scanf("%d%d%d",&side1,&side2,&side3); if(side1 == side2 && side2 =... Add solution