🔒 Closed Flowchart ask help po basic lang may tanong lang ako.

  • Thread starter Thread starter Xin Taru Jiang
  • Start date Start date
Status
Not open for further replies.
X

Xin Taru Jiang

Design the algorithm/pseudo code and draw a flowchart that displays all even numbers from 2 to 10 and outputs the sum/total of these numbers use a do-while loop. Make the SIMULATION table.

Start
Initialize x=2
do
Output x
x=x+2

While x<=10
Any recommendation tama ba sagot ko sa taas?
 
Dapat mauuna ata yung condition paps bago yung increment then proceed ulit sa DO.

Start
Initialize x=2
do
Output x
While x<=10
YES PROCEED to
x=x+2
NO - end

Patama nalang kung mali hehehhehe
 
up baka meron pang suggestions anyways thank you paps.
Dapat mauuna ata yung condition paps bago yung increment then proceed ulit sa DO.

Start
Initialize x=2
do
Output x
While x<=10
YES PROCEED to
x=x+2
NO - end

Patama nalang kung mali hehehhehe
 
Dapat mauuna ata yung condition paps bago yung increment then proceed ulit sa DO.

Start
Initialize x=2
do
Output x
While x<=10
YES PROCEED to
x=x+2
NO - end

Patama nalang kung mali hehehhehe
Goods to paps.
Yung kay TS goods din pag yung sa while naging "<" lang (hindi "<=" )
 
Goods to paps.
Yung kay TS goods din pag yung sa while naging "<" lang (hindi "<=" )
How about this paps sa jowa ko kasi to burnout na sya sa acads nya medyo gets ko to kasi napag aralan koto noon kaso di lang tlga ako sure kung tama ginagawa ko.
Example for COMBINING all control structures: a. Design the algorithm/pseudo code and draw a flowchart for a program that performs the following steps. Use Make the SIMULATION table.
i. Output the message “Student Grades”
ii. Accept the marks of 5 students (use any kind of loop).
iii. Get the total scores of all the students.
iv. Output the total scores.
v. If the total marks is more than 100, output the message “Very good”, otherwise output “Not very good”.
 
Status
Not open for further replies.

About this Thread

  • 4
    Replies
  • 439
    Views
  • 2
    Participants
Last reply from:
Unknown user

Online now

Members online
987
Guests online
1,052
Total visitors
2,039

Forum statistics

Threads
2,276,161
Posts
28,967,972
Members
1,231,145
Latest member
kennethCASTRO2012
Back
Top