What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-15 01:57:02
scheduling algorithm os c code
#include <stdio.h> int main() { int arrival_time[10], burst_time[10], temp[10]; int i, smallest, count = 0, time, limit; double... Add solution -
C 2021-09-15 00:13:02
total of two times
#include <stdio.h> int main(void) { int s1,s2,s3,m1,m2,m3,h1,h2,h3,d1,d2,d3; printf("hello user ,welcome to the system :\n"); printf("data time 1 :\n"); printf("hours :"); scanf("%d",&h1); printf("... Add solution -
TypeScript 2021-09-14 15:36:04
Sum of digits of a number using recursion function c
/* * C Program to find Sum of Digits of a Number using Recursion */ #include <stdio.h> int sum (int a); int main() { int num, result; printf("Enter the number: "); scanf("%d", &num); r... Add solution -
C 2021-09-13 11:51:03
multiplication table in c
#include <stdio.h> int main(){ //declaring variables int n,i,a,start,end; //taking and printing the instructions printf("Enter first number from where you want to start multiplication : \n"); scanf("%d",&sta... Add solution -
C 2021-09-13 08:38:04
c program for prims algorithm
#include<stdio.h> #include<conio.h> int a,b,u,v,n,i,j,ne=1; int visited[10]= { 0},min,mincost=0,cost[10][10]; void main() { clrscr(); printf("\n Enter the number of nodes:"); scanf("%d",&n); printf("\n Enter th... Add solution -
Other 2021-09-12 12:50:02
uva 10570
#include <iostream> #include <cmath> #include <cstdlib> #include <set> #include <cstdio># Include <cstring>using namespace std;typedef long long ll;const int INF = 0x3f3f3f3f;const int MAXN = + 5;int a[ MAXN], b[maxn... Add solution