What is the error in the following pseudocode?

```
Declare Integer widgets
Declare Real cost
Set widgets = 3.5
Set cost = widgets * 5
```

a. widgets is an invalid variable name for this code.
b. You cannot mix a Real variable and an Integer variable in a program.
c. widgets has been declared as an Integer and cannot hold a floating-point value.
d. There is no error.

c. widgets has been declared as an Integer and cannot hold a floating-point value.

Computer Science & Information Technology

You might also like to view...

You would find the Group and Ungroup buttons in the Outline group on the ________ tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

Create an empty table called SECTION2 with the same structure as the SECTION table. Create a view on the SECTION2 table that will be used for updating the table and restricts updates to sections with capacities that are less than 25. Write two INSERT statements – one that succeeds and one that fails and that uses the view to insert into the SECTION2 table.

What will be an ideal response?

Computer Science & Information Technology