Week 1: November 2 – 8. Introduction to C language. Part 1
Professor and balloons
For the holiday, Professor bought blue, red, and yellow balloons. In total he bought n balloons. There are a yellow and blue balloons together. There are b red and blue balloons together.
How many blue, red and yellow balloons did the Professor buy?
Three positive integers n, a, b.
Print in one line the number of blue, red and yellow balloons that Professor bought.
10 6 8
4 4 2