What's new

Flowchart

Xtian098765

Honorary Poster
Established
Joined
May 19, 2019
Posts
373
Solutions
24
Reaction
84
Points
255
Hello po.
Pwede po bang magpatulong dito about flowchart?
Meron po kasi akong hindi masagutan na activity at hindi ko naman po maintindihan mga sagot sa Google at Yt pati na rin sa chat ai.
Kaya kong meron po sana need help. I'm eager to learn this po and nakaka frustrating kasi hindi ko makuha yong answer. Thank you po

1st Activity: 1.Create an algorithm and a flowchart that will output all the prime numbers between 2 numbers.
2nd: draw a flowchart that could determine if an input number is a prime number or not
 
Hi! Sure, I'd be glad to help you with your flowchart concerns.

For the first activity, here's an algorithm and a flowchart that will output all the prime numbers between two numbers:

Algorithm:
1. Input the lower and upper bounds for the range of numbers to find primes.
2. For each number within the range, starting from the lower bound:
3. Check if the number is prime.
4. If the number is prime, output it.
5. Repeat steps 3-4 until all prime numbers have been output.

Flowchart:

Prime Numbers Flowchart


For the second activity, here's a flowchart that could determine if an input number is a prime number or not.

Flowchart:

Prime Number Flowchart


I hope this helps! Let me know if you have any questions or need further clarification.
 
Hi! Sure, I'd be glad to help you with your flowchart concerns.

For the first activity, here's an algorithm and a flowchart that will output all the prime numbers between two numbers:

Algorithm:
1. Input the lower and upper bounds for the range of numbers to find primes.
2. For each number within the range, starting from the lower bound:
3. Check if the number is prime.
4. If the number is prime, output it.
5. Repeat steps 3-4 until all prime numbers have been output.

Flowchart:

Prime Numbers Flowchart


For the second activity, here's a flowchart that could determine if an input number is a prime number or not.

Flowchart:

Prime Number Flowchart


I hope this helps! Let me know if you have any questions or need further clarification.
wala pong image na nakalagay
 
wala pong image na nakalagay
I apologize for the confusion. Here are the flowchart diagrams for the two activities:

1st Activity: Outputting all prime numbers between two numbers

Prime Numbers Flowchart


2nd Activity: Determining if an input number is a prime number or not

Prime Number Flowchart


I hope these flowcharts help! Let me know if you have any further questions.
 

Similar threads

Back
Top