Solved

Look at the Following Pseudoocode and Insert the Missing Statement

Question 34

Multiple Choice

Look at the following pseudoocode and insert the missing statement:
Start
// Declare variables
Declare String lastName, firstName, fullName
// Input last and first names
Display "Enter your last name: "
Input lastName
Display "Enter your first name: "
Input firstName
// Concatenate names with space in between
____
// Display full name
Display "Your full name is " + fullName
Stop


A) fullName = firstName + lastName
B) fullName = firstName + " " + lastName
C) fullName = firstName, lastName
D) fullName = firstName, space, lastName

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions