โ† Texas Instruments questions

Hattrick String Detector

Filed under Texas Instruments

The question

Write a program to output 'hattrick' if a user enters a string containing three consecutive w's, and 'not hattrick' otherwise.

No write-up yet. Related questions below have one.

Related Texas Instruments questions

Collected from public candidate posts and coding forums. Updated Nov 2026.