ex12.pp 326 B

1234567891011121314
  1. Program Example12;
  2. uses Crt;
  3. { Program to demonstrate the TextColor function. }
  4. begin
  5. WriteLn('This is written in the default color');
  6. TextColor(Red);
  7. WriteLn('This is written in Red');
  8. TextColor(White);
  9. WriteLn('This is written in White');
  10. TextColor(LightBlue);
  11. WriteLn('This is written in Light Blue');
  12. end.