week 5 brother pdf
DESCRIPTION
.............................TRANSCRIPT
-
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