The compiler tells exactly what the problem is - you provided some identifiers (red, green, blue) which were not previously declared. switch-case instruction handles only integer values, so you need...