algorithm
Algorithm
-An algorithm is a set of instructions for solving problems step by step
-the goal of an algorithm is about count how much people is in the room.
-The pseudo code is a programming language.
-The definition of variable is telling us what we are counting.
-The definition of loap is a sequence of steps that will repeat numbers of times.
-It describes how we are going to count.
-We start counting something starting in zero, then for each in the room, we increment N by in the first trip of the trough of the loop, we uptraid n from zero to 1.
-If there are five people in the room the result is to be five if is isn't like that, then is this an algorithm.
-The corner case is a case that isn't typical. To test the corner cases they try to know if the algorithm works with 0 persons in a room.
-Only excuses if there is one person in the room, that cannot be paired with some one else.
Comments
Post a Comment