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

Raptor Flowchart

Nested decision structures in RAPTOR flowchart

Overview

In this tutorial, we will learn the steps to build Nested decision structures in Raptor flowcharts.
In some complex scenarios, we may take a number of decisions. Nested decision structure is nesting
one decision blocks inside another decision block to take more than one decision in the flowchart.

Nested control structures let us test more than one condition where one condition is nested inside another.

Problem statement:

We use nested decision structures to model the below example flowchart.

Let us consider a sample bank loan scenario. To determine if a customer qualifies for a loan. The bank has two criteria

Bank Loan Scenario

S No Criteria
1 The salary of the employee should be >= 20000
2 The service of the employee should be >= 3 years.

 

Bank Loan Scenario

 

We will model the flowchart to know if the bank employee is eligible for a loan or not using nested control structures.

Flowchart

Nested Decision Structures Flowchart

Flowchart Output

Sample flowchart run output:

Employee Name=Sam Sparks
Employee Salary $=25000
Employee service=2
Sorry! Not qualified for a loan
—-Run complete. 11 symbols evaluated.—-
Employee Name=Emma Watson
Employee Salary $=35000
Employee service=4.5000
Congratulations! Emma Watson is qualified for a loan
—-Run complete. 11 symbols evaluated.—-

 

Nested Control Structures

 

 

Raptor Tutorials on this website can be found at:

https://www.testingdocs.com/raptor-a-flowchart-tool/

RAPTOR official website: https://raptor.martincarlisle.com/

Related Posts

Install RAPTOR Avalonia CentOS

Raptor Flowchart /

Install RAPTOR Avalonia on CentOS

RAPTOR Avalonia Edition Windows

Raptor Flowchart /

Download RAPTOR Avalonia Edition on Windows

RAPTOR Editions

Raptor Flowchart /

RAPTOR Editions

RAPTOR flowcart to write to a file output

Raptor Flowchart /

Write to a file with RAPTOR flowchart

Sum of Squares Array Elements Modular Approach

Raptor Flowchart /

Sum of Squares of Given Array Elements

‹ Debugging a RAPTOR Flowchart› Generate C++ code from Raptor 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