eText Y D pi pearsone x Academic Tc xe NVCC :: Sing BE Assignmen: x 1 Take Test:
ID: 3751069 • Letter: E
Question
eText Y D pi pearsone x Academic Tc xe NVCC :: Sing BE Assignmen: x 1 Take Test: W Announcem Xye Home IChe × × × > . secure https://learn.vccs.edu/webapps assessment/takelaunchJsp?course assessment id= 3668582 1&course id= 1165712 1&content id= 120013864 1&step-null ::: Apps G Google ± Downloads Program of Study, M N Academic Tools : No w HOME-myNVCC @ Pearson Sign In DIRECTV NOW Saved ltems ASOS Logarithmic Propert Question Completion Status: QUESTION 5 1 points Save Answer Given the flg pseudo code snippet: String acctNum = "1234" String firstName = "Joe" String lastName - "Smith" display "Your account number + acctNum + lastName // is locked, "+ firstName + " " + What will be displaved on the screen for the user to see? QUESTION 6 1 points Save Answer Assume that we would like the following to be displayed on the screen for the user to see: Welcome to Big Apple Bank Click Save and Submit to save and submit. Click Save Al Answers to save all ansvers Save All Answers Close Window Save and Submit 4:77 PM Type here to search lake lest.. s his . Inbox -ilun iTunes 9/20/2018Explanation / Answer
This is a simple string append psuedocode. We use + operator to append strings with each other.
e.g: "abc" + "def" = "abcdef"
So, we just append the strings and put the value of the variables.
So,
"Your account number " + accNum + " is locked, " + firstName + " " + lastName + "!"
Putting the values of the variables
"Your account number " + "1234"+ " is locked, " + "Joe" + " " + Smith + "!"
"Your account number 1234 is locked, Joe Smith!"
So, output is
Your account number 1234 is locked, Joe Smith!
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.