Question: CIT-111 HW#2, Just need the tests and the psuedo code, NEED these filled out, everything else is done. 1 Algorithm-Documentation (3) Edited T v Text

CIT-111 HW#2, Just need the tests and the psuedo code, NEED these filled out, everything else is done.
CIT-111 HW#2, Just need the tests and the psuedo code, NEED these
filled out, everything else is done. 1 Algorithm-Documentation (3) Edited T v

1 Algorithm-Documentation (3) Edited T v Text Shape Media Comment Insert Table Chart Student Name: Class/Section: HW/Assignment: CIT-111 PROBLEM STATEMENT: Problem Statement: Enter first and last name and convert into pig-Latin by taking first letter at the end and adding "ay" at last and Capitalize the first letter of both converted name in final output. ASSUMPTIONS: a single word is entered in both input. INPUT: Alex Smith OUTPUT: Lexaay. Mithsay TEST PLAN of POSITIVE RESULTS (Inputs, expected results - remember boundary conditions) 1. Test 1.1 2. Test 1.2 3. Test 1.3 TEST PLAN of NEGATIVE RESULTS (inputs that should not result in desired results) 1. Test 2.1 2. Test 2.2 3. Test 2.3 ALGORITHM (Pseudo-code) CIT111 Homework #2: First Java Programs Page 2 Problem 3: Document an algorithm and write a program where the user is prompted to enters data into two string variables, first and last, representing a name. The output will be the first and last name converted to "pig-latin": Convert both names to lowercase letters. . . Remove the first character from each name and append to the end of the name followed by "ay". Capitalize the new first letter of each name. Combine both names into a single String and output the result For example, if the user inputs "John" for the first name and "Smith" for the last name, then the program should create a new string with the text "Obniay Mithsay": Hint: Use the substring and to LowerCase and toUpperCase methods in constructing the pig-latin new . name. Develop a Java program that accomplishes your algorithm that involves user input for the first and last name as strings. Include appropriate comments such as the problem number, your name, and the class at the beginning of the program, and any other comments as needed to explain the algorithm and translation into Java statements. Submit your algorithm Word or PDF document and Java source code via Blackboard for this problem. Be sure that your Java source code compiles cleanly or you will receive no credit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!