Programming Language: Python Goal: To get comfortable using basic sequential operations (input, process, output) in creating programs.
Understanding the Problem What are the features of this application (or program)? --Prompts for a name --Prints a greeting using the name
Problem Statement: Create a program that prompts for a name and then prints a greeting using the name.
Discover the Inputs, Processes, Outputs (IPO) Input: --name
Process: --prompts --prints
Test Plan Input: --name: "Jermaine Tucker"
Expected Results: --Hello, Jermaine Tucker, nice to meet you!
Algorithm in Psuedocode 1)Start 2)Get a value for "name" by prompting the user with the message 'What's Your Name?' 3)Set the value of "greeting" to a concatenation of the expression: "Hello, " + name + " nice to meet you!" 4)Print the value of "greeting" 5)Stop