#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <ctype.h>

int main(void) {
    const char *article[] = {"the", "a", "one", "some", "any"};
    const char *noun[] = {"boy", "girl", "dog", "town", "car"};
    const char *verb[] = {"drove", "jumped", "ran", "walked", "skipped"};
    const char *preposition[] = {"to", "from", "over", "under", "on"};
    char sentence[100];

    srand(time(NULL));

    for (int i = 0; i < 20; i++) {
        sprintf(sentence, "%s %s %s %s %s %s.",
                article[rand() % 5], noun[rand() % 5],
                verb[rand() % 5], preposition[rand() % 5],
                article[rand() % 5], noun[rand() % 5]);
        
        sentence[0] = toupper(sentence[0]); // تكبير الحرف الأول
        printf("%s\n", sentence);
    }
    return 0;
}