C Program For Convert All Input String Simultaneously Into Asterisk ( * )

Hey Guys! Shall we start the discussion to learn the topic “C Program For Convert All Input String Simultaneously Into Asterisk ( * )” using this tutorial? Come on! Let’s try to do this task below.

C Program For Convert All Input String Simultaneously Into Asterisk ( * )

C Program For Convert All Input String Simultaneously Into Asterisk ( * )

Program Code

#include<stdio.h>
#include<conio.h>
main()
{
 char ch[]="**********.";
 char c='A';
 int i=0,j;

 printf("Write Your Name nn");

 while(c)
 {
  c=getch();
  printf("%ca",ch[i]);
  i++;
  if(i==10)
  {
   printf(" "); 
   i=0;
  }
 }
}

Final Words

I hope this article helps you to know about “Convert All Input String Simultaneously Into Asterisk ( * ) Using C Program“. If you face any issues please let me know via the comment section. Share this article with other C/C++ program developers via social networks.

Share on:

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Comment