Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSE 1 3 2 1 L: Programming and Problem Solving I Lab Lab 2 Getting Started with Coding For each lab program you develop, make

CSE 1321L: Programming and Problem Solving I Lab
Lab 2
Getting Started with Coding
For each lab program you develop, make sure to include the following header - replace the dots with your section number, semester, your full name, your instructor's name, and lab number:
Make sure to put the correct comment characters before the above lines in each file. C# & Java use // for comments.
Lab2A: MadLibs. For this assignment, we're going to code a MadLib. Your program should ask the user for two names, a verb and an adverb. These responses will get plugged into a prewritten sentence. An example output is shown below. User input is denoted in bold. Both the class and filename should be called Lab2A (.java, .cs,.cpp).
Sample run: ?()
Enter a name: Tiffany
Enter another name: Bubba
Enter a verb: eat
Enter an adverb: wickedly
Once upon a time, there was a person named Tiffany who had a child named Bubba. This child would eat wickedly while singing to strangers.
Lab2B: Design and implement a program to print out the following shape using stars (SHIFT-8) and underscores (SHIFT-minus). Both the class and filename should be called Lab2B (.java, .cs, cpp).
Sample run:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

International Baccalaureate Computer Science HL And SL Option A Databases Part I Basic Concepts

Authors: H Sarah Shakibi PhD

1st Edition

1542457084, 978-1542457088

More Books

Students also viewed these Databases questions

Question

4. What are the current trends in computer software platforms?

Answered: 1 week ago