#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
text color(RED);
cprintf("COMPUTER WITH RHN");
getch();
return 0;
}
OUTPUT:
COMPUTER WITH RHN
PROGRAM EXPLANATION:
THIS PROGRAM IS USED TO CHANGE THE COLOR OF THE PROGRAM IN THE OUTPUT SCREEN.
IF YOU WANT TO CHANGE THE COLOR THEN TYPE:
text color(FAV COLOR);
IF YOU WANT TO CHANGE THE WORDS AND SENTENCE THEN TYPE:
cprintf("YOUR FAV WORDS AND SENTENCE");
No comments:
Post a Comment