Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.47 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.  
  8.     string test;
  9.     string email;
  10.     bool isCharacter();
  11.     bool isNumber();
  12.     bool isValidEmailAddress(string);
  13.  
  14.     cout << "Vnesi ja e-mail adresata i proveri dali e validna ili ne "<<endl;
  15.     cin>>email;
  16.  
  17.     test=email;
  18.  
  19.     if (isValidEmailAddress  )
  20.         cout << "Tvojoata e-mail adresa e validna.";
  21.     else
  22.         cout << "Tvojata e mail adresa ne e validna, Obidi se povtorno."<<endl;
  23.     cin>>email;
  24.  
  25.  
  26.     return 0;
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement