Answers for "how to put emojis in c++"

C++
0

how to put emojis in c++

/* C++ Program - Print Smiling Face on Screen */
		
#include<iostream.h>
#include<conio.h>
void main()
{
	clrscr();
	int sml=1, i, limit;
	char ch=sml;
	cout<<"How many smiley face you want to print ? ";
	cin>>limit;
	for(i=0; i<limit; i++)
	{
		cout<<ch<<" ";
	}
	getch();
}
Posted by: Guest on July-20-2021

Browse Popular Code Answers by Language