ineedhelpnow
- 649
- 0
im using the if and else commands in c++ and for the else i want the program to print an error statement. how do i do this?
The discussion centers around how to print error statements in C++ when using if and else commands. It explores the methods of displaying error messages to users, particularly in the context of validating conditions such as the formation of a triangle.
Participants generally agree on the need to print error statements, but there is no consensus on the specific content or method of displaying these messages.
There are missing details regarding the specific conditions under which the error messages should be printed and the context of the overall program structure.
ineedhelpnow said:yeah i realized that all i had to do was output an error statement