Skip to content

Instantly share code, notes, and snippets.

View araidz's full-sized avatar
🚢
🧑‍💻

Ahmed Riad araidz

🚢
🧑‍💻
View GitHub Profile
@araidz
araidz / plurality.c
Created May 23, 2020 20:10
CS50 Pset3 Plurality
#include <cs50.h>
#include <stdio.h>
#include <string.h>
// Max number of candidates
#define MAX 9
// Candidates have name and vote count
typedef struct
{
@araidz
araidz / substitution.c
Created May 19, 2020 22:30
CS50 Pset2 Substitution
/*
CS50 Substitution
araidz
*/
#include <cs50.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>