fork download
  1. #define TARGET 25
  2. #include <stdio.h>
  3.  
  4. void main () {
  5.  
  6. int y;
  7.  
  8. printf("เลขบัตรประชาชน");
  9. scanf("%d",&y);
  10.  
  11. if(y==TARGET)
  12. printf("พบข้อมูลของท่าน");
  13.  
  14. else
  15. printf("ไม่พบข้อมูลของท่าน");
  16.  
  17. return 0;
  18.  
  19. }
Success #stdin #stdout 0.02s 26192KB
stdin
Standard input is empty
stdout
#define TARGET 25
#include <stdio.h>

void main () {
	
int y;

printf("เลขบัตรประชาชน");
scanf("%d",&y);

if(y==TARGET)
	printf("พบข้อมูลของท่าน");

else
	printf("ไม่พบข้อมูลของท่าน");
	
	return 0;
	
}