Answer:
1. Start
2. Display "Enter three numbers"
3. Input A
4. Input B
5. Input C
6. Sum = A + B + C
7. Display Sum
8. Stop
Explanation:
Line 1 and Line 7 of the algorithm implies the start and end of the algorithm, respectively.
Line 2 prompts user for input of three numbers
Line 3 to 5 accept input from user and these inputs are saved in variables A, B and C
Line 6 adds the three inputs and saves the result in variable Sum
Line 7 displays the value of Sum
Answer:
Insert mode
Explanation:
In editing a document in text editors such as MS Word, there are two types of mode available.
i. Insert mode: This mode allows users to write texts without erasing anything. As new characters are typed, texts to the right of the insertion point are moved or displaced to the right thus preventing overwriting.
ii. Overtype mode: This mode allows users to write texts by erasing texts to the right of the insertion point.
Note: To enable either of this mode, press the "Insert" key on the keyboard. This key toggles between the <em>Insert</em> and the <em>Overtype</em> modes.
Answer:
special_num = int(input())
if special_num == -99 or special_num == 0 or special_num == 44:
print('Special number')
else:
print('Not special number')
Explanation:
#get input
special_num = int(input())
#if function to evaluate true or false(aka Boolean)
if special_num == -99 or special_num == 0 or special_num == 44:
#true evaluation
print('Special number')
#false evaluation
print('Not special number')
<u>Tokens and its examples:</u>
Token is data type and it is behavior or categorized types. Basically most of programing language will have all five tokens data types and they are.
Operators: - such as mathematic operations such as example: - “+”,”-“
Constants: - which used with CONST in vb.net or #define in c programming language, such as example: - 400,200.
Reserved words:- if , then are all used for if condition where if and then are reserved used in programming language for specific purpose.
Separators: - it used with write a procedure or function, in c languages “()” or “()” in vb.net sub and end sub.
Identifiers: - end user to define variable with data type class and store the value in the programming languages, such as amt = 0, rate=10.5.