Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This lab assignment is designed to give you some practice using if statements in a flowchart. You might want to sketch out your flowchart on

This lab assignment is designed to give you some practice using if statements in a flowchart. You might want to sketch out your flowchart on paper before doing it in Visual Logic. Be sure to review the Visual Logic documentation before attempting this lab. The Assignment The Romance World Cruise Line provides special gifts and celebrations for passengers who are newlyweds as well as for couples who have been married for more than 40 years. Design a VLS flowchart for a program that accepts: a couples last name ship cabin number number of years married. After accepting the data the program always prints it back out as shown below, with a possible additional message. If the years married is one year or less the message is "Please send the Newlywed Gift Package to cabin nnn", where "nnn" is the cabin number. If the number of years married is 40 or more the message is "Please send the Deluxe Anniversary Package to cabin nnn". If the number of years married is not one or less, or 40 or more, then print no additional message. Please use the Console for input and output (click the "More >>" button in the Visual Logic dialog box that is used to create your input or output parallelogram, then then click the Input Type "Console" radio button). A sample run of the program will look something like this: Enter couples last name: Taylor Enter ships cabin number: 125 Enter number of years married: .5 Passengers Taylor are assigned cabin 125. Please send the Newlywed Gift Package to cabin 125.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions