Showing posts with label Find Divisor of a Number Algorithm. Show all posts
Showing posts with label Find Divisor of a Number Algorithm. Show all posts

Tuesday, October 15, 2019

Find Divisor of a Number Algorithm, Pseudocode and Flowchart


Programming Problem

Write pseudocode,algorithm, and flowchart to find divisor of a number 
and display the result on the screen.


Pseudocode

Start:
    Declare Integer i, n1
    
    Output "Find Divisor of a Number"
    Output "Give a Number:"
    Input n1
    Output "The divisors are :"
    For i = 1 to n1
        If n1 % i == 0
            Output i
        End
    End
Stop:


Algorithm


Step 1: Start
Step 2: Declare i, n1
Step 3: Input Give a Number say n1
Step 4: For i to 1 to n1
          IF n1 % i == 0
             print i
          ENDIF
        END
Step 5: Stop



Flowchart


I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking and Arduino Project development at a very affordable price.