๐Ÿ”’ Closed Flowchart&Algorithm pa help.

Status
Not open for further replies.
PT 2
Directions: Design algorithm ang flow chart that displays the product of two number using Repeated addition.
Algorithm
Step 1 - Start
Step 2 โ€“ int A = 0, B = 0, C= 0




Baka alam nyo lang guys. Salamat.
 

How to answer or solve a problem using google ?​

1. Formulate questions or query according to your problem.
(In this case you need to make algorithm and flow chart that displays the product of two number using repeated addition.)
2. Go to You do not have permission to view the full content of this post. Log in or register now.
3. Search in google using the queries.
a. What is algorithm in programming? or How to make algorithm in programming with examples
You do not have permission to view the full content of this post. Log in or register now.
22.PNG


b. What is flow chart programming? or How to make flow chart in programming with examples
You do not have permission to view the full content of this post. Log in or register now.
23.PNG


c. product of two number using repeated addition examples
You do not have permission to view the full content of this post. Log in or register now.
24.PNG

4. Formulate an answer based from the answers you got from searching.

Note: Mag aral ng mabuti, konting effort, sayang yung free tuition.
 

How to answer or solve a problem using google ?​

1. Formulate questions or query according to your problem.
(In this case you need to make algorithm and flow chart that displays the product of two number using repeated addition.)
2. Go to You do not have permission to view the full content of this post. Log in or register now.
3. Search in google using the queries.
a. What is algorithm in programming? or How to make algorithm in programming with examples
You do not have permission to view the full content of this post. Log in or register now.
View attachment 994261

b. What is flow chart programming? or How to make flow chart in programming with examples
You do not have permission to view the full content of this post. Log in or register now.
View attachment 994263

c. product of two number using repeated addition examples
You do not have permission to view the full content of this post. Log in or register now.
View attachment 994264
4. Formulate an answer based from the answers you got from searching.

Note: Mag aral ng mabuti, konting effort, sayang yung free tuition.
PT 2
Directions: Design algorithm ang flow chart that displays the product of two number using Repeated addition.
Algorithm
Step 1 - Start
Step 2 โ€“ int A = 0, B = 0, C= 0


Kuys pa help naman po dito. First year palang po ako. Humms pati ako nung k12 kaya wala papong gaanong alam. Patulong naman po kahiya hiyaman. Aaralin ko nlng po after masagutan. Salamat po
 
Algorithm
1. Start
2. Accept firstNumber, secondNumber
3. Start loop if (0 < secondNumber)
then totalNumber += firstNumber;
4. Display totalNumber.

Flowchart
29.webp
 
Ooooooooo tama po batong gawa ko sa algorithm?
Mali, actually nonesense pero nice try pa din.
Ito mahabang version ng algo with declaration:
1. Start
2. int firstNumber, secondNumber, totalNumber
3. Input firstNumber, secondNumber
4. Start loop, initialize loop counter i = 0
5. If (i < secondNumber) then totalNumber += firstNumber
6. Loop finished, display totalNumber

Refrain from using A, B, C, etc. as your naming convention, pangalanan mo ng maayos yung variables para maintindihan mo ng maayos at maintindihan ng mag babasa ng code mo. si A ay ginawa kong firstNumber, B = secondNumber, c = totalNumber, dapat yung mga variable name na ginagamit mo may sense at relevant sa kung ano man yung variable na yun.

30.webp
 
Mali, actually nonesense pero nice try pa din.
Ito mahabang version ng algo with declaration:
1. Start
2. int firstNumber, secondNumber, totalNumber
3. Input firstNumber, secondNumber
4. Start loop, initialize loop counter i = 0
5. If (i < secondNumber) then totalNumber += firstNumber
6. Loop finished, display totalNumber

Refrain from using A, B, C, etc. as your naming convention, pangalanan mo ng maayos yung variables para maintindihan mo ng maayos at maintindihan ng mag babasa ng code mo. si A ay ginawa kong firstNumber, B = secondNumber, c = totalNumber, dapat yung mga variable name na ginagamit mo may sense at relevant sa kung ano man yung variable na yun.

View attachment 994783

Step 1 - Start
Step 2 - int A = 0, B = 0, C= 0, D = 0
Step 3 - Input A
Step 4 - Input B
Step 5 - if D < B
Step 5.1 - C = C + A
Step 5.2 - D = D + 1
Step 5.3 - Go to Step 5
Step 6 - Output C
Step 7 - End


Paps ayan na sya. Pa gawa naman po ng Flowchart. Kahiya hiya man po. Nakakalito lang.
 
[XX='inusena, c: 411578, m: 588361'][/XX] kuys pagawa naman po netong Flowchart nakakalito lang po.

Step 1 - Start
Step 2 โ€“ int A = 0, B = 0, C= 0
Step 3- Input num
Step 4- C = C + A;
Step 5- B = B +1
Step 6 - if B == 5
Output C
Else
Go to step 3
7.End

Step 1 - Start
Step 2 - int A = 0, B = 0, C= 0, D = 0
Step 3 - Input A
Step 4 - Input B
Step 5 - if D < B
Step 5.1 - C = C + A
Step 5.2 - D = D + 1
Step 5.3 - Go to Step 5
Step 6 - Output C
Step 7 - End
 
[XX='inusena, c: 411578, m: 588361'][/XX] kuys pagawa naman po netong Flowchart nakakalito lang po.



Step 1 - Start
Step 2 - int A = 0, B = 0, C= 0, D = 0
Step 3 - Input A
Step 4 - Input B
Step 5 - if D < B
Step 5.1 - C = C + A
Step 5.2 - D = D + 1
Step 5.3 - Go to Step 5
Step 6 - Output C
Step 7 - End
[XX='inusena, c: 411578, m: 588361'][/XX]
 
Sundan mo lang Yung flow. Yun Ang trick Doon para di maka gawa ka Ng flowchart tapos may mga ibig sabihin Kasi Yung mga shapes sa flowchart, mas maganda mag research ka Kung ano Ang ibig sabihin Ng bawat shapes, para malaman mo Kung saan ginagamit, hanap ka muna Ng simple flowchart, para mas madali sundan. Good luck
 
Sundan mo lang Yung flow. Yun Ang trick Doon para di maka gawa ka Ng flowchart tapos may mga ibig sabihin Kasi Yung mga shapes sa flowchart, mas maganda mag research ka Kung ano Ang ibig sabihin Ng bawat shapes, para malaman mo Kung saan ginagamit, hanap ka muna Ng simple flowchart, para mas madali sundan. Good luck
Sige paps. Salamat
 
Status
Not open for further replies.

About this Thread

  • 15
    Replies
  • 843
    Views
  • 4
    Participants
Last reply from:
G I N E B R A

Online now

Members online
947
Guests online
3,074
Total visitors
4,021

Forum statistics

Threads
2,276,136
Posts
28,967,815
Members
1,231,128
Latest member
Dedegodskga
Back
Top