Mapa mental
Pseudocode and Flow Charts
Conteúdo do mapa
Pseudocode and Flow Charts
Pseudocode
- number1=input()
- number2=input()
- if number1>number 2 then
- print ("the largest number is" + number1)
- else
- print ("the largest number is" + number 2
- end
- print ("the largest number is" + number 2
- else
- print ("the largest number is" + number1)
- if number1>number 2 then
- number2=input()
- number1=input()
Flow Chart
- terminators, arrows, yes/no,input/output, decision, sub routine
CONST=constant variable in the program that wont change
- iteration : while....=x
- (condition) endwhile
- iteration : for … 0 to 5:
- (count) next
- iteration : for … 0 to 5:
- (condition) endwhile
- iteration : while....=x
!= (not equal to) ==(equal to)
- <,<= (less than (or equal to))
- >,>= (more than (or equal to))
- MOD (6/2=3(no remainder)) shows the remainder ie 7/2=3 r1
- DIV integer division (7 DIV 2=3) whole number
- <,<= (less than (or equal to))
global commands show variable can be used sub routines
Informações
- Descrição
- Mapa Mental sobre Pseudocode and Flow Charts, criado por Anthony Petrou em 14-02-2019.
- Criado por
- Anthony Petrou
- Visualizações
- 3
- Avaliação
Mais sobre Algorithms and Flowcharts