Counting ns

✅ Correct Gemini ⚔️ Counting ns

About

Prompt

Count the number of occurrences of the letter n in the word mayonnaise. Specify the location of each with the first letter of the word being 1

Answer

The letter "n" occurs 2 times in 'mayonnaise'. Locations: 5, 6.