So i need to write an whileloop for a program that's supposed to prompt the user with this:
char vector[10];
while(????){
print("Write a number");
scanf("%s",vector);
}
printf("Goodbye");
The program is supposed to print goodbye and close when the user presses ctrl+c. Im pretty sure I cant use putchar in this case?