Mindmap
Algorithms
Inhalt der Mindmap
Algorithms
mathematical operators
- + Addition
- - Subtarction
- / Division
- 22/2 = 11
- 8-4=4
- / Division
- 2+2 = 4
- - Subtarction
- * Multiplication
- 7*3 = 21
- + Addition
Selection
- game = input ("Please input a game")
- if game == "Apex" then
- print("trash game")
- elseif game == "Roblox" then
- print ("Good game")
- Else
- print ("not a valid game
- Else
- print ("Good game")
- elseif game == "Roblox" then
- print("trash game")
- if game == "Apex" then
- game = input ("Please input a game")
relational operators
- == equal to
- != Not equal to
- < less than
- > more than
- >= more than or equal to
- <= less than or equal to
- >= more than or equal to
- > more than
- < less than
- != Not equal to
- == equal to
DIV
- MOD
- Returns the remainder after division
- 22 MOD 5 = 2
- Returns the remainder after division
- Uses floor division to return a integer vaule after division
- 22 DIV 5 = 4
- (Whole number)
- MOD
Inputs
- name = input ("please input your name")
- outputs
- Print(name)
Informationen
- Beschreibung
- Mindmap am Algorithms, erstellt von Lucas Bloodworth am 23/04/2021.
- Erstellt von
- Lucas Bloodworth
- Aufrufe
- 1
- Bewertung