Pateros Catholic School: Senior High School Department SY 2020-2021
Pateros Catholic School: Senior High School Department SY 2020-2021
PROGRAMMING
ACTIVITY TASK SHEET No. 4
Learning Competencies:
1.1. Creating variables
1.2. Identifying arrays in programming
1.3. Writing code using the correct syntax in programming
1.4. Using functions in running programs
Name of Student: Michael, Arzee Luiz I. Grade and Section: 11-Blessed Nicolas Steno
PROGRAMMING EXERCISE
Task: Create a program that accepts user’s input and pass it to a function, your goal is to create scientific
calculator like program wherein you will include all the math-functions in one program.
Total number inputs from the user: MAX OF 4 (Q: Why 4? A: There are math functions that has 3
parameters.)
1. ALGORITHM
ALGORITHM
FLOWCHART TITLE -
Start
Enter your
desired number
Determine the
number
End
3. PROGRAMMING USING JDOODLE
3.1. Using Visual studio or you can use this free website: https://www.jdoodle.com/online-compiler-c++/
3.2. Create a program that combines all the math functions.
PROGRAM
EXPECTED OUTPUT