67 232
Assignments Done
99,2%
Successfully Done
In November 2018

Answer to Question #14167 in C++ for aishwarya

Question #14167
write a c++ code for broad coloring
Expert's answer
#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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions