let SeeLater = 'See you later.';
let fash = '.Barry' ;
let vyraz = prompt('Enter access code ', '');
if (vyraz == 2545) {
let Name = prompt('Enter your name. ', '');
let lastname = prompt (`Enter your last name. `, '');
alert(`Welcome to V. A. S. ${Name} ${lastname}.`);
let information = prompt(`What you need Dr.${lastname} ?`, '');
}
if (information == 'RF ') {
alert ('RF is negative .');}
if (confirm (`Anything else, Dr.${lastname}?`)){
alert ('RF = - .');
let information = prompt (`Anything else, Dr.${lastname}? `);
}
if(information == 'Fash') {
alert (fash);
}
else {
alert (SeeLater);
}
else{
alert (`See you later Dr.${lastname}.`);
}
else if(information == 'Fash ') { alert (' Barry. ');}
else {
alert ('No info today');
}
else {
alert ('Access is closed ');
}