Прописал логику при выборе пункта 4 в меню

related #4
parent dc0caa05
...@@ -76,6 +76,9 @@ while (true) { ...@@ -76,6 +76,9 @@ while (true) {
continue; continue;
}; };
}; };
} else if (parseInt(userAns) == 4) {
console.log('Программа успешно остановлена');
break;
}; };
} else { } else {
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment