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

Thursday, October 10, 2019

Payroll System Pseudocode, Algorithm and Flowchart

Programming Problem

Create pseudocode and flowchart that will ask the user to give employees name, position, 
number of days work and rate per day and then solve the salary of the employee and 
display the result on the screen.

Pseudocode

Start
    Declare String name, position
    Declare Real dayswork, rateperday, salary
     Output "Give Employee's Name"
    Input name
    Output "Give Employee's Position"
    Input position
    Output "Give Employee's Number of Days Work"
    Input dayswork
    Output "Give Employee's Daily Rate"
    Input rateperday
    Assign salary = (dayswork * rateperday)
    Output "Hi " &name & "being an " & position & " your salary is PHP " & tofixed(salary,2) & "."
Stop


Algorithm

Step 1: Start
Step 2: Declare variables name, position,dayswork
        Declare variables rateperday, salary
Step 3: Input Employee's Name says name
        Input Employee's Position says position
        Input Employee's Number of Days Work say dayswork
        Input Employee's Daily Rate say rateperday
Step 4: salary = (dayswork * rateperday)
Step 5: Display employee's name, position, salary
Step 6: Stop



Payroll System Flowchart


Wednesday, October 9, 2019

Fahrenheit To Celsius Converter Pseudocode, Algorithm and Flowchart

Programming Problem

Create and design pseudocode and flowchart that will ask the user to give the temperature in Fahrenheit and then convert the given temperature into Celsius equivalent and display the result on the screen.


Pseudocode

Start
   Declare Real celsius, fahrenheit
    Output "Temperature Converter"
    Output "Give the temperature in Fahrenheit  :"
    Input fahrenheit
    Assign celsius = (fahrenheit-32) * 5 / 9
    Output "The temperature in Celsius is " & tofixed(celsius,2) &"°C."
    Output "END OF PROGRAM"
Stop


Algorithm

Step 1: Start
Step 2: Declare variables celsius, fahrenheit
Step 3: Input temperature in Fahrenheit say fahrenheit
Step 4: celsius = 5.0/9.0 (fahrenheit - 32 )
Step 5: Display celsius
Step 6: Stop



Sample Program Output


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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.







Sum of Two Numbers Pseudocode, Algorithm and Flowchart

Programming Problem

Write pseudocode and flowchart to find the sum of two numbers.

Pseudocode

Start
    Declare Integer a, b, sum
     Output "Sum of Two Numbers"
    Input a
    Input b
    Assign sum = a+b
    Output "The total sum of " & a & " and " & b & " is " & sum &"."
Stop


Algorithm

Step 1: Start
Step 2: Declare variables A,B,SUM
Step 3: Input two numbers say A and B
Step 4: SUM = A + B
Step 5: Display SUM
Step 6: Stop


Flowchart of Sum of Two Numbers


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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com.