223k views
3 votes
In pseudocode you can use the ________ library function to determine whether a character is whitespace.

2 Answers

3 votes
Hi!

The library function we can use to determine this is going to be ANS: isWhitespace.

It's basically a boolean (true or false), which will determine if this character is or isn't whitespace.

Hopefully, this helps! =)
User Tanius
by
6.9k points
1 vote

Answer:

isWhiteSpace

Step-by-step explanation:

A pseudocode is a free-style or informal way of writing a program. It could also be seen as a form of algorithm (which is a step-by-step procedure in solving a problem) written by using mathematical notations and natural language rather than a particular programming language. For example, to write a pseudocode for adding two numbers together, it could be written as follows;

Start

Assign: sum = 0

Read: num1;

Read: num2;

Assign: sum = num1 + num2;

Display sum;

End

Also, there are some library functions used in pseudocodes. Some are;

i. isUppercase, which will determine whether or not a character is in uppercase

ii. isLowercase, which will check whether or not a character is in lowercase

iii. isWhiteSpace, will check if a character is a whitespace.

Hope this helps!

User Nikitah
by
6.4k points