Skip to content

Instantly share code, notes, and snippets.

View Sajjad5640's full-sized avatar
🎯
Focusing

MD.Sajjad Mojumder Anik Sajjad5640

🎯
Focusing
  • Daffodil International University
View GitHub Profile
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct node
{
char bookname[100];
int bookid;
char aName[100];
struct node *next;
struct node *pre;
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct node{
int data;
struct node *next;
};
//Stack implement using array
#include<stdio.h>
#define N 5
int stack[N];
int top = -1;
void push (int x)
{
if (top==N-1)
{
@Sajjad5640
Sajjad5640 / BEECROWD SOLVE 1048 - Salary Increase
Last active September 13, 2023 16:05
BEECROWD SOLVE 1048 - Salary Increase
#include <stdio.h>
#include<math.h>
int main()
{
float salary,reajuste;
scanf("%f",&salary);
if(salary>=0 && salary<=400)
{
reajuste=salary * .15;
salary=salary+reajuste;
#include <stdio.h>
#include<math.h>
int main()
{
int v,r,i=1,j,temp;
char hd[100]; //Hexadecimal
scanf("%d",&v);
temp=v;
while (temp!=0)
{
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
};
typedef struct node Node;
/*Total number of Odd and Even number 1D and 2D Array
#include<stdio.h>
int main(){
int i ,n,a[100],ev=0,od=0;
printf ("Enter the array size:\n");
scanf("%d",&n);
printf("Enter the element:\n");
for(i=1;i<=n;i++){
#include<stdio.h>
int linear_search(int a[],int n,int k)
{
int i ;
for(i=1; i<=n; i++)
{
if(a[i]==k)
{
return i;
}