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

int main(void)
{
    int i = get_int("i: ");
    int j = get_int("j: ");

    if (i==j)
    {
        printf("Same\n");
    }
    else
    {
        printf("Different\n");
    }
}