algorithm:algorithm is an insturuction for solve a problem step by step
goal:is what you will to do and complete
pseudoucode:english lenguange to understand the programm lenguage
variable:a variable is a value
loap:a sequense of steps that will repeat some numbers of times
testing algorithm when the final result is the same that the number you will count its correct
we test corner cases:spours there are 0 persons in the room. we start intializing n to 0,but the n by 1 doesnt execute at all. sinse there isnt a person in the room,and so n remains to 0
branch:its an algorithm thonly execute when the number you count isnt pair
goal:is what you will to do and complete
pseudoucode:english lenguange to understand the programm lenguage
variable:a variable is a value
loap:a sequense of steps that will repeat some numbers of times
testing algorithm when the final result is the same that the number you will count its correct
we test corner cases:spours there are 0 persons in the room. we start intializing n to 0,but the n by 1 doesnt execute at all. sinse there isnt a person in the room,and so n remains to 0
branch:its an algorithm thonly execute when the number you count isnt pair
Comments
Post a Comment