Read two numbers from the keyboard Display the menu options as follows: 1 - computes the sum of two numbers. 2 - computes the difference (first minus second). 3 - computes the product of the two numbers. 4 - if the second number is not zero, computes the quotient (first divided by second). 5 - terminates the program If the code is not equal to 1,2,3,4 or 5 - displays an error message. The program is then to display the two numbers, the integer code and the computed result to the screen. Use CASE structure in this algorithm.

int a = 10;

int b = 5;
int total = 0;

printf("%d + %d = %d\n", a, b, total);
printf("%d - %d = %d\n", a, b, total);
printf("%d * %d = %d\n", a, b, total);
printf("%d / %d = %d\n", a, b, total);

/*Without an array*/
if(var == 1)
{
return 1;
}
else if(var == 2)
{
return 1;
}
else if(var == 3)
{
return 1;
}
else if(var == 4)
{
return 1;
}
else if(var == 5)
{
return 1;
}
else
{
return 0;
}

I think that is what you want, This is just simple C code. Nothing special.

To implement this algorithm, you can follow these steps:

1. Read two numbers from the keyboard. Let's call them `num1` and `num2`.

2. Display the menu options using a `CASE` structure:
a. If the code is equal to 1, compute the sum of `num1` and `num2`. Display the result as `num1 + num2`.
b. If the code is equal to 2, compute the difference of `num1` minus `num2`. Display the result as `num1 - num2`.
c. If the code is equal to 3, compute the product of `num1` and `num2`. Display the result as `num1 * num2`.
d. If the code is equal to 4 and `num2` is not zero, compute the quotient of `num1` divided by `num2`. Display the result as `num1 / num2`.
e. If the code is equal to 5, terminate the program.
f. If the code is not equal to 1, 2, 3, 4, or 5, display an error message.

Here is a sample implementation in Python:

```python
# Step 1: Read two numbers from the keyboard
num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))

# Step 2: Display menu options
code = int(input("Enter the code (1-5): "))

# Case structure
if code == 1:
result = num1 + num2
print("Sum:", result)
elif code == 2:
result = num1 - num2
print("Difference:", result)
elif code == 3:
result = num1 * num2
print("Product:", result)
elif code == 4:
if num2 != 0:
result = num1 / num2
print("Quotient:", result)
else:
print("Error: Cannot divide by zero")
elif code == 5:
print("Program terminated")
else:
print("Error: Invalid code")

# Display the two numbers, the integer code, and the computed result
print("Numbers:", num1, num2)
print("Code:", code)
print("Result:", result)
```

Remember to replace the input and variable names as needed depending on the language you are using.