What do you want to save?
Add Code snippet
New code examples
-
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 -
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 -
TypeScript 2021-08-30 23:21:02
how to take inputs and give outputs from a file in c
#include<stdio.h> int main() { FILE *fp; char ch; fp = fopen("one.txt", "w"); printf("Enter data..."); while( (ch = getchar()) != EOF) { putc(ch, fp); } fclose(fp); fp = fopen(&q... Add solution -
Shell/Bash 2021-08-30 11:13:02
bash display items in array
$ printf '%s\n' "${my_array[@]}" Add solution
Best helpers
Rlw
+5
John Rualo
+5
Michael Wang
+5
Heavens
+5
Calvino
+5
Withparadox2
+5
SuzyTypehead
+5
Aj Morales
+5