answersLogoWhite

0


Best Answer

The order of operations. Variables must be declared before they are used.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where is the error in the following pseudocode Display enter the length of the room input length Declare Integer length?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Give an example of pseudocode program?

Pseudocode is a non-specific programming language that is used to outline an algorithm's logic using plain-English terms and sentence structures, but often incorporating the grammar of well-known programming constructs such as loops and branches. For example, the following pseudocode demonstrates a loop that prints the values from 1 to 10: let number be 0 repeat while number is less than 10 increment number print number This is a simple example, however anyone familiar with at least one programming language can translate this pseudocode into their chosen language without too many problems. The point of pseudocode is to reduce complex algorithms to their simplest form, without being overly-specific with regards an actual programming language. That is, the focus is purely upon the algorithm itself, rather than the idiosyncrasies of specific coding methods. Pseudocode is not a programming language, per se, so there are no grammar rules regarding syntax or sentence structure. However, each line of code should be short and to the point (not overly-wordy), clearly conveying the point of the code. Whitespace and indentation should be used wherever necessary to convey the separation of code blocks (as shown in the example), or to break down complex lines into bite-size chunks that clearly show the logic.


How do you declare an integer?

datatype variable name;


Declare an integer called sum?

sum:integer;


Can you declare printf for integer variable?

printf is declared in stdio.hFormat specifier for an integer value is %d.


How do declare function pointer having two integer parameters and returning integer pointers?

// declare a function int* function(int, int); or int* (function)(int, int); // declare a pointer to a function int* (*pointer_to_function)(int, int);


How would you write Visual Basic Code to declare an Integer variable called intNumber?

Dim intNumber As Integer


Does HTML allow you to declare integer real string and boolean variables?

HTML is not a programming language and as such does not allow you to declare variables.


What is used to declare variables in Visual Basic?

declaration of variable is dim a as integer


Is it possible to declare an array of numbers in an integer form?

Yes: int[] integerArray;


How do you define an integer in SQL Server?

with the keyword int: eg: declare @myIntegerVariable int


Write a line of code that asks the python user to input an integer greater than 0 and store this value in a variable and display its value?

integer = input("Please input an integer greater than 0: ") print(integer)


how can the following definition be written correctly as a biconditional statementAn odd integer is an integer that is not divisible by two.?

An integer is odd if and only if it is not divisible by two.