aboutsummaryrefslogtreecommitdiff
path: root/10b/10.8.7/10.8.7.cpp
blob: 9099123e9529115eed2f9e7ca77ddf7fc734c4c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 10.8.7.cpp : This file contains the 'main' function. Program execution begins and ends there.
//

#include <iostream>
#include "header.h"

using namespace std;

int main()
{
    char s1[50]{}, s2[50]{};
    int n;

    GetInput(s1, s2, n);
    
    if (Compare(s1, s2, n))
    {
        cout << "Same";
    }
    else
    {
        cout << "Different";
    }
}