54.0k views
0 votes
write a pseudocode statement that declares are variable total so it can hold integers. initialize the variable with the value?

1 Answer

3 votes

Answer:

DECLARE total AS INTEGER

INITIALIZE total WITH "?"

Step-by-step explanation:

This declares the variable total as an integer data type and initializes it with the value ?. The value ? is used to indicate that the variable has not been assigned a specific value yet. In some programming languages, this value might be treated as an error or a special value such as "null" or "undefined".

User Gonchuki
by
8.2k points