my work 10 include stdio include conio include iostream void main setl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
// my work 5.10
#include <stdio.h>
#include <conio.h>
#include <iostream>
void main()
{
setlocale(0, "Russian");
char a, b;
printf("%s", "Введите буквы:\n");
scanf("%с%с", &a, &b);
system("cls");
if (a > b) printf("%s", "По алфавиту");
else if (a < b) printf("%s", "По алфавиту");
else printf("%s", "Равны");
getch();
}