What do you want to save?
Add Code snippet
New code examples
-
C 2021-09-04 04:51:03
implement the Beizer Curve code in c
#include<graphics.h> #include<math.h> #include<conio.h> #include<stdio.h> void main() { int x[4],y[4],i; double put_x,put_y,t; int gr=DETECT,gm; initgraph(&gr,&gm,"C:\\TURBOC3\\BGI"); printf("\n****** Bezier ... Add solution -
C 2021-09-04 03:17:02
c generate random number
#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { int number, min, max; system("cls"); printf("What is the minimum number?\n"); scanf("%d", &min); printf("What is the... Add solution -
C 2021-09-03 18:27:03
a c program to computes the prime numbers in the user mentioned range
#include <stdio.h> int main() { int num1, num2, flag_var, i, j; /* Ask user to input the from/to range * like 1 to 100, 10 to 1000 etc. */ printf("Enter two range(input integer numbers only):"); //Store the range in v... Add solution -
Other 2021-09-03 02:13:01
Optimal Page Replacement Algorithm
#include<stdio.h> int main() { int no_of_frames, no_of_pages, frames[10], pages[30], temp[10], flag1, flag2, flag3, i, j, k, pos, max, faults = 0; printf("Enter number of frames: "); ... Add solution -
C 2021-08-31 18:00:01
fcfs disk scheduling in c
/* This code is contributed by : Tanishq Vyas (github : https://github.com/tanishqvyas) */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> //Header file for sleep() #include <pthread.h> int main(int argc, char cons... Add solution -
Python 2021-08-31 11:20:01
Print Odd Even Negative Integer Count
#include<stdio.h> int main() { int n,i,e=0,o=0,ne=0; scanf("%d",&n); int a[n]; for(i=0;i<n;i++){ scanf("%d",&a[i]); if(a[i]<0) ne++; else if(a[i]%2==0&&a[i]>=0) e++; else o++; } printf("%d %d... Add solution
Best helpers
Srishti L
+5
Dan Romik
+5
Enceladus
+5
Jaehyeon Yu
+5
Rrrrhh
+5
Chris Paton
+5
Ciara
+5
L E Morin
+5
J-Dizzle
+5
EHH
+5
BuckNaked69
+5
Supes9
+5
Anirudhan J
+5