The output of the following program is

number=2
while [ $number -gt 0 ]
do
echo "$number \c"
number=`expr $number - 1`
done
a: "number \c"
b: number number
c: 2 1
d: 1 2
e: 0 1 2

c: 2 1

Computer Science & Information Technology

You might also like to view...

Access Options display in the Navigation view

Indicate whether the statement is true or false

Computer Science & Information Technology

In a flowchart, rectangles are used as ____________ to represent the steps in which the program performs some process on data, such as a mathematical calculation.

a. processing symbols b. output symbols c. input symbols d. terminal symbols

Computer Science & Information Technology