As I said in the previous lesson, Access Here , I have to you 5 challenges to you practice your ability. 1- Make an algorithm that ask to user type numbers, the stop condition is when was typed the Number 0, say to user the stop condition. 2- Make an algorithm that aks to user many numbers, use the stop condition, when the user type 0, so print the sum result at display. 3- Make an algorithm that ask to user type a number and so use a do while to decrement this number up to 0. print them at display. 4- Make an algorithm that ask to user a number, you’ll multiplies by its predecessor up it be 0. Print all the process. 5- Make an algorithm that as to user letter, user the variable different of space character as condition. In the next lesson, we’ll see the Command While. Share it with your friends! Well, that’s all folks! See you later!
As promised in the last class, I present to you the Loop Do While. First, what’s a Loop? A loop is by definition a command that repeat a action inside code considering some situations. Access the Lesson 2 to more information. Below, see the structure of Do While Command: In others words, we have ‘do’ or make this code, only in the end, it’ll tested, then can happen that the condition be false, but the code will be ran once. Now, see a example with Do While being ran. Below, see the code allow being ran. First the Do While command RUN, after it TEST, remember always! In the next lesson, I will do 5 challenges to you practice. Well, that’s all Folks! See you later!
Is with a great honor that I present the newest course in this blog. Now we’ll study the Python programming language. With this course, you’ll have new horizons and possibilities, so share this newest with your friends and follow us by e-mail for reserves the newest. Subscribe us if you desire. So, see you later to study python language.
Comentários
Postar um comentário