0% found this document useful (0 votes)
98 views6 pages

Flowchart Seatwork No.1 MS Office 2019

The document contains 5 flowcharts that demonstrate different programming logic: 1) A flowchart that inputs two numbers and displays the product and quotient 2) A flowchart that inputs 3 integers and displays the sum, difference, product, and quotient 3) A flowchart that inputs 4 numbers and displays the sum and average 4) A flowchart that compares two numbers and displays which is greater 5) A flowchart that inputs 5 grades, calculates the average, and displays if the student passed or failed

Uploaded by

Ivan Razo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views6 pages

Flowchart Seatwork No.1 MS Office 2019

The document contains 5 flowcharts that demonstrate different programming logic: 1) A flowchart that inputs two numbers and displays the product and quotient 2) A flowchart that inputs 3 integers and displays the sum, difference, product, and quotient 3) A flowchart that inputs 4 numbers and displays the sum and average 4) A flowchart that compares two numbers and displays which is greater 5) A flowchart that inputs 5 grades, calculates the average, and displays if the student passed or failed

Uploaded by

Ivan Razo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Ivan Webster J.

Razo September 9, 2020


CpE-1
START

Variables num1, 1. Flowchart that used to input


num2, product, two numbers and display the
quotient product and quotient

Input num1
and num2

product = num1 * num2

quotient = num1 / num2

Output var.
product and
quotient

STOP
START

Variables int1, int2, 2. Flowchart that used to enter


int3, sum, diff, three integers and display the
product, quotient sum, difference, product and
quotient.

Input int1,
int2 and int 3

sum = int1 + int2 + int3

diff = int1 - int2 - int3

product = int1 * int2 * int3

quotient = int1 / int2 / int3

Output var. sum,


diff, product and
quotient

STOP
START

Variables num1, 3. Flowchart that used to enter


num2, num3, num4, four numbers and display the
sum and avg sum and average

Input num1,
num2, num3,
and num4

sum = num1 + num2 + num3 + num4

avg = sum / 4

Output var. sum


and avg

STOP
START

Variables num1 and


num2

Input num1
and num2

Output
Is num1 > TRUE “num1 is
num2 ? greater than
num2”

FALSE

Output
“num2 is
greater than
num1”

STOP
START

4. Flowchart that will input five


grades then compute the
Variables gr1, gr2, average and determine
gr3, gr4, gr5 and avg whether the average is
“PASSED” or “FAILED”. If the
average is greater or equal to
60 then display the remarks
Input gr1, gr2, “PASSED”, otherwise
gr3, gr4 and “FAILED”.
gr5

avg = (gr1 + gr2 + gr3 + gr4 + gr5) /4

TRUE

Is avg >= TRUE


Output
60 ?
“PASSED”

FALSE

Output
“FAILED”

STOP
START

5. Flowchart that will input five


item price and compute for
Variables itm1, itm2,
the Total Price. If the total
itm3, itm4, itm5,
price is greater than one
sum, and discntd
thousand pesos then discount
is ten percent of the total
price otherwise five percent
Input itm1, only. Display the discounted
itm2, itm3, total price.
itm4, itm5

sum = itm1 + itm2 + itm3 + itm4 + itm5

TRUE

Is sum > TRUE Output


1000 ? “10 %
Discount”

FALSE

Output discntd = sum * 10 / 100


“5%
Discount”

discntd = sum * 5 / 100

Output
“discntd”

STOP

You might also like