answersLogoWhite

0

Start

Input a

if a%3 = 0 then

Print a

else

print" enter another number"

end

1. start

2. Input N

3. if N<3, go to step 6

4. if N%3 && N%6!=0 then

print N

5. N=N-3 go to step 3

6. end

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Write algorithm and draw flowchart to find the sum of even numbers?

jgfujtf


Write an algorithm and draw a corresponding flowchart to search a number in the given list of numbers and also display its position?

please give me an algorithm and a corresponding flow chart that displays list of numbers from 1 to 20.


Write an algorithm and draw a flowchart that will calculate the roots of quadratic equation?

dejene


How do you write a structured algorithm an a flowchart to calculate and the average of ten scores?

how to write a structured algorithm that input the name and price of an item and quantity and amount


Write flowchart searching algorithm?

flow chart to swap two number


How do you write and draw an algorithm in flowchart for Add 2 and 4 and print the sum?

2+4


Write an algorithm or draw a flowchart to display numbers from 100 down to 10?

n=100 loop until n = 9 print n n = n -1 end loop


Write an algorithm and draw a corresponding flowchart to find the greatest number and its position among the 6 given numbers?

Algorithm Step1: Read A, B, C Step2: If A &gt; B is True, then check whether A &gt; C, if yes then A is greatest otherwise C is greatest Step3: If A &gt; B is False, then check whether B &gt; C, if yes then B is greatest otherwise C is greatest Give the Flowchart Answer


What steps are necessary to build an algorithms?

the number of steps of an algorithm will be countable and finite.


Can you write an algorithm to find the beast numbers?

maybe


Write an algorithm and draw flowchart to calculate the perimeter of a square?

Sure, honey. First, let's keep it simple. To calculate the perimeter of a square, you just need to multiply the length of one side by 4. So, if the side length is &quot;s&quot;, the formula is 4s. As for the flowchart, draw a square with &quot;s&quot; labeled on one side, then an arrow pointing to a box that says &quot;Perimeter = 4s&quot;. Done and done, darling.


Write an algorithm to check whether a number is a prime number or not?

You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.