The Romance World Cruise Line provides special gifts for passengers who are newlyweds, as well as for those who have been married more than 40 years. Design a pseudocode for a program that accepts a couple's last name, ship cabin number, and number of years married. Display a couple's data with the message "Newlywed Gift" if the couple has been married a year or less, "Deluxe Anniversary Package" if the couple has been married 40 years or more, and no message if the couple has been married between 2 and 39 years.

Please help I have been trying to learn how to do this and I am lost!

Did you ever figure this out? Cause I need help on it if you can please.

Sure! I can help you with designing the pseudocode for the program.

Here's a pseudocode solution for your program:

1. Start
2. Declare variables:
- lastName (string)
- cabinNumber (integer)
- yearsMarried (integer)
3. Read the couple's last name, ship cabin number, and number of years married and store them in the respective variables.
4. If yearsMarried is less than or equal to 1, then:
- Display "Newlywed Gift" along with the couple's data (last name and cabin number).
Else, if yearsMarried is greater than or equal to 40, then:
- Display "Deluxe Anniversary Package" along with the couple's data (last name and cabin number).
Else:
- No message is displayed.
5. End

Note: Pseudocode is a way of representing a solution algorithm in plain English-like language. It is not a specific programming language, so you will need to translate this pseudocode into an actual programming language like Python or Java to implement the solution.

Let me know if you need further assistance or have any other questions!