print("Enter the date in dd-mm-yy format: "); while() { print("You have entered valid data\n"); }