0
WAP to input your name and check name is valid or not ?
Help to find my mistake . Defining if in for loop , valid name is repeated according to number of letter in name . Using C (String) https://www.sololearn.com/discuss/2872910/?ref=app
3 odpowiedzi
+ 4
Mansi Srivastava
What are validation parameters?
+ 2
Hey Mansi Srivastava your question seem unclear, you can add a code or more info
+ 1
Your task is simple if you know about data types strings and if else condition then easily you can do it by yourself.
First you need to take input name from user and in if condition you to compare your original name with user input_name if this will be match then print valid and in else part print not valid.
Note that In c language you cannot compare two string directly like this
if("Mansi"=="Mansi") in some languages its valid you can use strcmp function for comparing in c for more details you can search