Files
2026-01-21 10:34:07 +01:00

395 B
Raw Permalink Blame History

Quick Exercise — Variables

Try writing a small script (your language of choice) that:

Asks the user for their name.

Accept the name only if:

  1. Length ≤ 20 2.First character is a letter 3.Contains no digits 4.Contains no spaces

This tests: ✔ Reading input ✔ Using variables ✔ Printing output

Reply here with your solution — Ill give feedback.

I will use c for this exercises