C++ Programming Problem #1 : Numbers to Text Conversion

Problem # 1: Numbers to Text Conversion //—www.skellainnovations.com—// #include<iostream> #include<conio.h> #include<windows.h> using namespace std; void gotoxy(int x, int y) { HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); COORD pos; pos.X = x; pos.Y = y; SetConsoleCursorPosition(hConsole,pos); } int main(){ int a,b,c,d,e; SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11); gotoxy(20,12); cout << “Enter Number : “; cin >>a; gotoxy(20,16); if (a==0){ switch (a) case […]

More