#include <stdio.h>
#include <ctype.h>
int testPalindrome(char a[50],int i,int strLen);
main(void)
{
char string[50],a[50];
int strLen=0,i=0,r=0;
printf("Enter a sentence:...
Type: Posts; User: Kyaw Zin Latt
#include <stdio.h>
#include <ctype.h>
int testPalindrome(char a[50],int i,int strLen);
main(void)
{
char string[50],a[50];
int strLen=0,i=0,r=0;
printf("Enter a sentence:...
void circle(char c,int x)
{
int i,j;
for(i=-x;i<x;i++)
{
for(j=-x;j<x;j++)
{
if(i*i+j*j<x*x)
printf("%c",c);
else
Hi all,
I am trying to print different shapes but I had some difficulty in trying to print a circle using a symbol. Do you guys have any idea's as to how to do it?
Thanks :biggrin: