Search:

Type: Posts; User: Kyaw Zin Latt

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    13,214

    #include #include int...

    #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:...
  2. Replies
    4
    Views
    20,761

    void circle(char c,int x) { int i,j; ...

    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
  3. Replies
    4
    Views
    20,761

    Print a Circle using symbols

    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:
Results 1 to 3 of 3