Stuff
public text v1 · immutable#include <stdio.h>
#include <string.h>
int main() {
char yesno[4];
printf("Dost thou wish to install the rockbox bootloader? (y/n) :");
if(fgets(yesno,4,stdin)){
if (!strncmp("y",yesno,1)) {
printf("Read yes : %s",yesno);
}
else {
printf("Read no : %s",yesno);
}
}
return 0;
}