Skip to content

Instantly share code, notes, and snippets.

View TapasyRabeya's full-sized avatar

Tapasy Rabeya TapasyRabeya

View GitHub Profile
@TapasyRabeya
TapasyRabeya / hostel management.c
Created January 8, 2018 16:40
C code for hostel management system
#include<stdio.h>
int a, b, c, d, e, f,sf=0,ff=0;
int i,c,s=-1,g=1;
int temp,admin=4321,user=1234;
struct node
{
int id;
char name[50];
@TapasyRabeya
TapasyRabeya / sigle server.cpp
Created January 8, 2018 16:37
An implementation for simulating single queue single server problem
#include <stdio.h>
#include <stdlib.h>
struct node {
int time_arr , arrivel , sertime, timeserbeg , timeQ , timesevend , timespend ;
node(){}
};
node seg[10000];