Max = 0
For K = 1 to N
If Number(K) > Max then Max = Number(K)
Next K
Print Max
Step1- Read a,b,c. Step2-if a>b continue step 5. Step3- b>c then print “b is the largest " and continue step 7. Step4- continue step 6 Step5-if a>c then print “a is the largest " then continue step7. Step6- print “z is largest". Step7- end.
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 "s", the formula is 4s. As for the flowchart, draw a square with "s" labeled on one side, then an arrow pointing to a box that says "Perimeter = 4s". Done and done, darling.
Start print "the sum of all even numbers is infinite" end
You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.
just go the reverse of how they are listed now they are currently largest to smallest
jgfujtf
please give me an algorithm and a corresponding flow chart that displays list of numbers from 1 to 20.
dejene
how to write a structured algorithm that input the name and price of an item and quantity and amount
flow chart to swap two number
2+4
Step1- Read a,b,c. Step2-if a>b continue step 5. Step3- b>c then print “b is the largest " and continue step 7. Step4- continue step 6 Step5-if a>c then print “a is the largest " then continue step7. Step6- print “z is largest". Step7- end.
start input A & B if A>B print A is greatest if B>A print B is greatest stop james ola writes.....SOT.
n=100 loop until n = 9 print n n = n -1 end loop
Algorithm Step1: Read A, B, C Step2: If A > B is True, then check whether A > C, if yes then A is greatest otherwise C is greatest Step3: If A > B is False, then check whether B > C, if yes then B is greatest otherwise C is greatest Give the Flowchart Answer
maybe
the number of steps of an algorithm will be countable and finite.