This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================================================================== | |
User Name-: Hardik | |
Registration code :- TZXZT-USMCB-ZRKYP-MTVG3-JM8UL | |
=============================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <limits> | |
using namespace std; | |
int main(){ | |
char var[10]; | |
bool valid = false; | |
while(!valid){ | |
cout << "Enter a string 9 characters long: "; |