#include <stdio.h>
#include <conio.h>
int main()
{
int Number_of_words, lower_limit = 1;
char word;
printf ("Number of Words: ");
scanf ("%d",&Number_of_words);
for (lower_limit = 1; lower_limit <= Number_of_words; lower_limit += 1)
{
printf("Word: ");
scanf("%str",&word);
}
}
so, I want to make a code that will allow the user to input a number of words as many as the number that has been input by the user before. For example,when I run the code, if the input is "4" on "Number of Words", that will allow me to write 5 words. But instead of allowing me to write 4 words, it asks me to input more than 5 words.