i dnt have time to draw flow chart but i'll give the algorith..(only major steps)
1 :read n
2:m=n
3:if n=0 goto step 8,else goto step 4
4:r=n%10
5:rev=(rev*10)+r
6:n=n/10
7:goto step3
8:if m==rev,display "palindrome" else "not palindrome
9:stop
/*To check whether a string is palindrome*/includeincludevoid main () { int i,j,f=0; char a[10]; clrscr (); gets(a); for (i=0;a[i]!='\0';i++) { } i--; for (j=0;a[j]!='\0';j++,i--) { if (a[i]!=a[j]) f=1; } if (f==0) printf("string is palindrome"); else printf("string is not palindrome"); getch (); }
there is no basic symbol in flowchart
pictorial representation of a program is called a flowchart
Accept 3 natural numbers and check whether it firms pythagorean triplet
the circular square shape is the terminator of a flowchart
Just as 12321 is a palindrome, .12321 is, also. 123.321 is also palindromic.
Its not a palindrome. A palindrome is a series that repeats itself when written backwards. Example: 12321 backwards is 12321. Another example is race car backwards is race car. (spaces don't really matter.)
A number that reads the same forward and backward. eg: 666 1221 12321
12321 is a palindrome number race car is one too they can be the same number or word(s) when written backwards
A palindrome is a number, or sequence of letters, that is read the same from left to right, as from right to left. For example, the word "noon" - if you read it backwards, you also get "noon".
121, 484, 12321, 1234321, 123454321, 12345654321, 1234567654321, 123456787654321, 1234567897654321, 1002001, 10201, 100020001, 10000200001, 1000002000001
A number that reads the same backwards as it does forwards. For example 1357531, or 121.
12321 = 12,321
One. If you mean "digits", the number can have any amount of digits; the only requirement to be called a "palindrome" is that if you read it backwards, you get the same sequence of digits. Thus, any of the following is a palindrome: 1 (any 1-digit number is a palindrome), 55, 121, 2002, 12321, 600006, 8105018, ... As you can see, you can make them arbitrarily large.
It is: 12321/1000 = 12.321 kg
A palindrome is a series of letters, numbers or other characters that read the same forward and backward, such as level, race car, 'Able was I ere I saw Elba, or 12321. This definition would be most helpful to you in classes for languages and math.
If you mean can be read the same back to front as front to back such as 12321 or 75257 its a palindrome.