I'm having trouble trying to create the italian, polish, andnetherlands flag in C
Here's my code so far:
#include
int main(){
  int country_choice;
  fprintf(stderr, \"Enter the country_code of thechosen flag.(1 for Poland, 2 for Netherlands, 3 for Italy)\");
  fscanf(stdin, \"%d\", &country_choice);
 Â
switch (country_choice) {
case 1:
printf(\"Poland Flag\n\");
printf(\"%c%c%c\", 255,255,255);
printf(\"%c%c%c\", 220,20,60);
 Â
break;
 Â
 Â
case 2:
printf(\"Italian Flag\n\");
printf(\"%c%c%c\", 0,146,70);
printf(\"%c%c%c\", 225,255,255);
printf(\"%c%c%c\", 206,43,55);
break;
 Â
case 3:
printf(\"Netherlands Flag\n\");
printf(\"%c%c%c\", 174,28,40);
printf(\"%c%c%c\", 225,255,255);
printf(\"%c%c%c\", 33,70,139);
break;
 Â
default:
printf(\"Wrong Option\");
break;
}
  return(0);
}