Jumat, 25 Desember 2009

Multiples Algorithm NUMBERS 3, 5 AND 7

to make the algorithm numbers 3, 5, 7 dams, we must follow the step-langkay the right to create a program that we can be executed and found the results we want. to make the algorithm prime numbers, we must follow the step-langkay the right to create a program that we can not be executed and found the results we want. The following algorithm prime numbers that can be seen mi friend .. The following algorithm prime numbers can be seen that mi friend ..


Step 1: begin Step 1: Start
Step 2: input (integer) Step 2: input (integer)
Step 3: if car mod 3 = 0, 'yes' next, 'no' 7 Step 3: if car mod 3 = 0, 'yes' next, 'no' 7
Step 4: if car mod 5 = 0, 'yes' next, 'no' 7 Step 4: if car mod 5 = 0, 'yes' next, 'no' 7
Step 5: if bil mod 7 = 0, 'yes' next, 'no' 7 Step 5: if bil mod 7 = 0, 'yes' next, 'no' 7
Step 6: write: = "Numbers can be divided into 3, 5 & 7 Step 6: write: =" Numbers can be divided into 3, 5 & 7
Step 7: write: = "Numbers can be split NO 3, 5 & 7 Step 7: write: =" Numbers can be split NO 3, 5 & 7
Step 8: output (write) Step 8: output (write)
Step 9: finish Step 9: finish

Artikel Yang Bersangkutan



Template by : kendhin x-template.blogspot.com