TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Flowgorithm

Determine String is a Palindrome Flowchart

Overview

In this tutorial, we will design a Flowgorithm flowchart to determine if a string is a palindrome or not. A palindrome string is a string that is spelled identical forward or in the reverse.

Some example palindrome strings are:

  • adcda
  • madam
  • radar

Some examples of non-palindrome strings are:

  • testingdocs
  • palindrome

Flowchart

The flowchart to determine whether the given string is a palindrome or not is as follows.

The flowchart invokes a function ReverseString(). This function returns the string that is the reverse of the given string.

Launch Flowgorithm.

Declare a String variable to hold the user entered string.

Prompt the user to enter the string variable.

String Palindrome Flowchart

Palindrome Flowchart 2

String Reverse Function

String Reverse Function

Output

Positive Test case

Palindrome Positive Test case

That’s it. We have successfully designed a flowchart to determine whether the given string is a palindrome or not.

—

Flowgorithm Tutorials

Flowgorithm tutorials on this website:

https://www.testingdocs.com/flowgorithm-flowchart-tutorial/

More Information on Flowgorithm tool:

http://www.flowgorithm.org/

Related Posts

Print Triangle Pattern Flowchart

Flowgorithm /

Print Triangle Pattern Flowchart

Flowgorithm Breakpoint Symbol

Flowgorithm /

Flowgorithm Conditional Breakpoint Statement

File Read Declare Variables

Flowgorithm /

Flowgorithm Read Numbers from File Example

File Search Input File Flowgorithm

Flowgorithm /

Search Text File Flowchart Example

Flowgorithm Turtle Graphics Symbols

Flowgorithm /

Flowgorithm Turtle Graphics Symbols

‹ Flowchart to count white spaces in a String› Hello World Flowgorithm Flowchart

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version