summaryrefslogtreecommitdiff
path: root/wk3/sect/candidate.c
blob: 120537f9474f08637f5f1f61bb79736291108349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <cs50.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct {
    string name;
    int votes;
} candidate;

int main(void) {
    candidate president;
    president.name = "Alyssa";
    president.votes = 10;
}


/*

*/