X1183: Example problem in C++

Write a program that makes a decision and does something so that if the input is 1 the output is 0 and vice versa.

Write the code that should be within int main()

Your Answer:

Reset

Practice a different C++ exercise

Feedback

Your feedback will appear here when you check your answer.