I’ve looking around for this but can’t find the answer and apologies if it’s really obvious but where is the actual input entered in this challenge?
i.e. Who is cool? Mikey
Mikey is cool!
Where is ‘Mikey’ input? All I get as output is “Who is cool?”
#include <stdio.h>
#include<readline/readline.h>
int main(int argc, const char * argv[])
{ printf("Who is cool? ");
const char *name = readline(NULL);
printf("%s is cool!\n\n", name);
return 0;
}