first commit day 1 week 1
This commit is contained in:
20
week 1/day 1/readme.md
Normal file
20
week 1/day 1/readme.md
Normal file
@@ -0,0 +1,20 @@
|
||||
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 — I’ll give feedback.
|
||||
|
||||
I will use c for this exercises
|
||||
Reference in New Issue
Block a user