Algorithm, Identifiers, Data Types, Operators
Algorithm, Identifiers, Data Types, Operators
INPUT/OUTP
UT
Performs any calculations that are to be
done
PROCESS
Two alternative execution paths are possible.
The path to be followed is selected during the
execution by testing whether or not the
DECISION condition specified within the outline is fulfilled.
• SYNTAX
Data type variable terminator (;)
• EXAMPLE
int _total;
float num1, ex_2, file;
char letter;
Operators
1 1 1 1 0 0
1 0 0 1 0 1
0 1 0 1 1 0
0 0 0 0 1 1
PYTHON
Converting Mathematical Formula to JAVA
Expression`
Answer:
Get variables from the user
Process
Answer:
Sum = number1 + number2
Output
End