Week 5 Brother PDF
8
Brother อายุ พิมพ์เปิดด้วย #include "stdio.h" void main () และ{ }
-
Upload
pphosanit-tik -
Category
Documents
-
view
13 -
download
2
description
.............................
Transcript of Week 5 Brother PDF
-
Brother
#include "stdio.h"
void main () { }
-
char brother;
int age;
-
printf("Do you have brother?:");
scanf("%c",&brother);
-
if(brother == 'y')
{ }
-
printf("How old is he?:");
scanf("%d",&age);
-
printf("%d year old\n",age);
printf("Good bye!!!!");
-
return 0;
run