Computer Science, asked by davetilak003, 10 months ago

write a c program for printing smile face as output​

Answers

Answered by rashmi736
3

Answer:

Explanation:

Print Smiling Face on Screen in C++

To print smiling face on the screen in C++ programming, first you have to ask from the user that how many smiling face he/she want to print on the output screen to print required number of smiling face on the screen.

So to print smiling face on the screen, use the ASCII value of smiling face, which is 1, first make a variable say sml of int type and initialize 1 to it. Now make a variable say ch of type char and initialize sml to ch. After performing this, ch is now contains smiling face, now print the required number of smiling face on the screen as shown here in the following program..

Answered by satyamy1435
0

Explanation:

please mark ❣️ me brainlesst.

Attachments:
Similar questions