![How do I check if the char (number) entered is less than than 1, so that I can display a message saying error, that exits the program? (im a beginner to c++ How do I check if the char (number) entered is less than than 1, so that I can display a message saying error, that exits the program? (im a beginner to c++](https://preview.redd.it/how-do-i-check-if-the-char-number-entered-is-less-than-than-v0-esa5oll6tvsb1.png?width=640&crop=smart&auto=webp&s=8a0e83b1e210ac9e422a520141755d113606d4db)
How do I check if the char (number) entered is less than than 1, so that I can display a message saying error, that exits the program? (im a beginner to c++
![Belkin MacBookPro, iPadPro, GalaxyS22, Ultra, Plus - Siyah gibi cihazlar için Power Delivery PD ile hızlı şarj için BoostChargePro Flex Örgülü USB-C - USB-C Kablosu 1m USB-IF Onaylı : Amazon.com.tr: Bilgisayar Belkin MacBookPro, iPadPro, GalaxyS22, Ultra, Plus - Siyah gibi cihazlar için Power Delivery PD ile hızlı şarj için BoostChargePro Flex Örgülü USB-C - USB-C Kablosu 1m USB-IF Onaylı : Amazon.com.tr: Bilgisayar](https://m.media-amazon.com/images/I/41skvWrKuRL._AC_UF1000,1000_QL80_.jpg)
Belkin MacBookPro, iPadPro, GalaxyS22, Ultra, Plus - Siyah gibi cihazlar için Power Delivery PD ile hızlı şarj için BoostChargePro Flex Örgülü USB-C - USB-C Kablosu 1m USB-IF Onaylı : Amazon.com.tr: Bilgisayar
![c++ - VSCode IntelliSense thinks we're in C++11 against all configuration (as evidenced by `__cplusplus` macro) - Stack Overflow c++ - VSCode IntelliSense thinks we're in C++11 against all configuration (as evidenced by `__cplusplus` macro) - Stack Overflow](https://i.stack.imgur.com/Z4umr.png)
c++ - VSCode IntelliSense thinks we're in C++11 against all configuration (as evidenced by `__cplusplus` macro) - Stack Overflow
![GitHub - Datoto1205/C-Plus-Plus-Practice: Some codes I wrote to practice the C++ language, so that I could be more proficient in object-oriented. GitHub - Datoto1205/C-Plus-Plus-Practice: Some codes I wrote to practice the C++ language, so that I could be more proficient in object-oriented.](https://user-images.githubusercontent.com/32284698/42931401-27dceef2-8b72-11e8-9133-a2bb93fcd053.png)
GitHub - Datoto1205/C-Plus-Plus-Practice: Some codes I wrote to practice the C++ language, so that I could be more proficient in object-oriented.
![C++ Program to Calculate Bonus on Salary Grade Wise ~ C++ Tutorial With Basic Programs for Beginners C++ Program to Calculate Bonus on Salary Grade Wise ~ C++ Tutorial With Basic Programs for Beginners](https://2.bp.blogspot.com/-PfKeuvW7P0I/WrR2JxE98QI/AAAAAAAAIUY/rjshZyeLpe0P_yufmTOefQGrhv_R9S90wCLcBGAs/s1600/salary_bonus_c_plus_plus_program.jpg)