بيان المشكلة
Write a program that performs a simple validation check on an email string: it must contain exactly one '@' and at least one '.' after the '@'.
DEMO-C-32 • Programming in C
Write a program that performs a simple validation check on an email string: it must contain exactly one '@' and at least one '.' after the '@'.
Input:
String S
Output:
VALID/INVALID
Submit runs every public testcase in this browser. Results and code never leave this device.
integer11@compile.org
VALID
index61@vanillagov
INVALID
switch11@date.net
VALID
class75@record.ai
VALID
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question