Professional Documents
Culture Documents
Activity#1 Aplasca, Johnkert
Activity#1 Aplasca, Johnkert
Course: BSCS-1
Instruction. Write an algorithm and flowchart for the following given problems.
1. Read two numbers, compute the sum, difference, product, quotient and modulus of these
STEP 1: START
STEP 5: END
START
Input
(Num1,
Num2)
Compute:
Sum(num1+num2)
Display:
Product(num1*num2)
(Sum, Difference,
Difference(num1-num2) END
Product, Qoutient,
Quotient(num1/num2) Modulus)
Modulus(num1%num2)
2. Enter two integers then determine if the input number is positive or negative. Display the
results.
STEP 1: START
STEP 5: END
START
Input (N)
T
R
U
E
Print “N if is
END Equal to 0”