Skip to content

Instantly share code, notes, and snippets.

@rkhang7
Created November 15, 2018 12:13
Show Gist options
  • Save rkhang7/1a8cc08988e6fb4637fca1af8fdc3534 to your computer and use it in GitHub Desktop.
Save rkhang7/1a8cc08988e6fb4637fca1af8fdc3534 to your computer and use it in GitHub Desktop.
// bai 7
#include <stdio.h>
#include <conio.h>
int main()
{
int a,b,c;
printf("a=");scanf("%d",&a);
printf("b=");scanf("%d",&b);
printf("c=");scanf("%d",&c);
if(a==10 && b!=10 && c!=10) printf("DUNG");
else if(b==10 && a!=10 && c!=10) printf("DUNG");
else if(c==10 && b!=10 && a!=10) printf("DUNG");
else printf("SAI");
getch();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment