Өгөгдсөн 3 оронтой m тооны өндөр цифрийг ол.( хамгийн их цифр)

‪#‎include‬ <stdio.h>
#include <stdlib.h>
main()
{
int m,a,b,c,max;
printf("m="); scanf("%d",&m);
a=m/100;
b=(m/10)_;
c=m_;
max=a;
if(max<b) max=b;
if(max<c) max=c;
printf("max under tsifr=%dn",max);
system("pause");
}

Comments