this is logic not java but needs to put in java program which im doing ?
Start
Display a welcoming message
Ask for the required number of passengers from 1-8
Ask about importance of mileage on a scale of 1-10
Ask about importance of cargo space on a scale of 1-10
If the user entered valid answers then
If the passenger count is 6 or more Then
Choose the Sports Utility Vehicle (SUV)
Else
If mileage is more important than cargo Then
Choose the Hybrid Sedan
Else
If passenger count is 5 Then
Choose SUV
Else
If cargo space importance was 7 or better Then
Choose the Pickup w/Cab
Else
Choose the SUV
End If
End If
End If
End If
Tell the customer which vehicle is recommended
Else
Tell the customer that their entries are not correct
End If
Thank the customer for their interest
Stop
just wondering do i need to initilzied the vehichle car type or not thats all