Answer to Question #14167 in C++ for aishwarya
write a c++ code for broad coloring
1
2012-09-06T10:33:42-0400
#include<iostream>
#include<Windows.h>
using namespace
std;
int main()
{
for(int i=0; i<255;
i++)
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),
i);
cout << "Example broad coloring" <<
endl;
}
system("pause");
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment