Showing posts with label Flowchart. Show all posts
Showing posts with label Flowchart. Show all posts

Friday, October 13, 2023

Flowchart to check prime number

Prime Number

" a whole number greater than 1 that cannot be exactly divided by any whole number other than itself and 1 (e.g. 2, 3, 5, 7, 11)."

Prime numbers are very useful in cryptography.

Flowchart to check a Prime Number

Following flowchart is prepared using a RAPTOR software.
Prime number Flowchart

Python Logic to check a prime number.

def is_prime(n):
  if n <= 1:
    return False
  for i in range(2, int(n**0.5) + 1):
    if n % i == 0:
      return False
  return True

Output of python program:

is_prime(5)
True



Saturday, May 8, 2021

Flowchart to input 5 numbers from user and to print odd or even number.

Flowchart to read 5 numbers from user and to print odd or even number.

[ This article is posted for a request received from the visitor of the blog.]

Following flowchart will input 5 numbers one by one from the user and prints whether it is Odd or Even number.

Flowchart to input 5 numbers from user and to print odd or even number.
Fig. Flowchart to input 5 numbers and to print Odd or Even

Output of the flowchart:

1 is odd number
2 is even number
3 is odd number
4 is even number
5 is odd number
----Run complete.  35 symbols evaluated.----






Monday, January 18, 2021

Flowchart to check Odd or Even Number between 1 to 10

Flowchart to check odd or even number between 1 to 10 numbers

Flowchart to check Odd or Even Number between 1 to 10



Output of the flowchart:

1 is odd

2 is even

3 is odd

4 is even

5 is odd

6 is even

7 is odd

8 is even

9 is odd

10 is even

----Run complete.  55 symbols evaluated.----


* * * * *



This flowchart is generated using Raptor tool. Read more about RAPTOR here. 


Top 10 Flowcharts Examples

You may like to visit following top 10 flowchart examples.




Friday, September 11, 2020

Flowchart to convert uppercase letters into lowercase

 RAPTOR Flowchart to convert Uppercase letters into Lowercase letters

Fig.: Flowchart to convert Uppercase letters into Lowercase letters

Note: 

  • ASCII value of 'A' is 65, and 'a' is 97.
  • If we add 32 into 65, we get 97 which is ASCII value of 'a'. 
  • Hence we add 32 into 'chr' variable in the flowchart. This process we repeat up to 'Z' in the flowchart using loop.

You may like to read C Program to convert uppercase letters into  Lowercase letters here. 


Check more operation flowchart on following link:

Friday, December 7, 2018

Factorial of number - flowchart

Flowchart of Factorial of a Given Number

According to Wikipedia; the Factorial of a non-negative integer N, denoted by N!, is the product of all positive integers less than or equal to N. 

For example: 4! = 4 X 3 X 2 X 1 = 24

The flowchart of finding factorial of a given number using RAPTOR tool is given below:

Factorial of number - flowchart
Fig: Flowchart of Factorial of a given number.

For more such interesting flowchart example visit Flowchart page. 


Tuesday, August 14, 2018

Flowchart to check odd even number using Raptor


Odd Even Flowchart using RAPTOR

Raptor is one of the top flowcharts drawing tool. [ Click here to know more about RAPTOR ].

Following is the flowchart to check odd even number drawn in RAPTOR.

Fig. Odd Even Flowchart in RAPTOR

One of the great feature of RAPTOR is you can run/execute your flowchart.

When you run this flowchart in RAPTOR, it will ask you to enter a number; if we enter 5; it will display "It's Odd Number" as output.

Check more operation flowchart on following link:



Friday, August 3, 2018

Flowchart to Print Table of 5


RAPTOR Flowchart to print Table of 5

RAPTOR Flowchart to print Table of 5
Figure: RAPTOR Flowchart to Print Table of 5
Output of the Flowchart under RAPTOR is as under:

Figure: Output - Flowchart of Table of 5 in RAPTOR




Tuesday, December 5, 2017

Top Flowchart Software

What is Flowchart?

A flowchart is a type of diagram which may represents some workflow, an algorithm or process. It shows the steps as boxes; and their order by connecting arrows. This diagrammatic representation illustrates a solution model to a given problem.


Top Flowchart Software

Some of the top Flowchart Drawing Software are as under:

  • Lucidchart
  • Visio
  • Edraw
  • ConceptDraw
  • Cacoo
  • SmartDraaw
  • Creately
  • Raptor
  • RFFlow
  • Flowgorithm
  • yEd
  • Visual Logic



* * *

Monday, May 8, 2017

Flowchart of Area of Circle

Flowchart of Simple Interest

Simple Interest Calculation of Savings Bank Accounts / Loan Accounts


Following flowchart describes the process of simple interest calculation. 

Simple Interest calculation is one of the routine activity performed by Banks. Savings Bank account holder gets interests on their deposits in bank. Loan takers from the bank pay the interest to the bank. 

In the following flowchart, P is Principle amount, R is Rate of Interest, N is number of years and I is used for Simple Interest. 

Formula to calculate Simple Interest (I) based on given P, R and N is as under:

I  = (P * R * N) / 100

  
Simple Interest - flowchart


Fig. Flowchart to Calculate Simple Interest

Here, P = Principal amount, R = Rate of Interest, N = No. of years and I = Simple Interest.





Tuesday, April 4, 2017

Flowchart to subtract two numbers.


Flowchart to subtract two numbers

Flowchart to subtract two numbers

Fig. Flowchart to subtract two numbers