Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CMSC140_Project1_Fall2019 - Saved to my Mac View Tell me References Mailings Review Aa A AlbceDo Accoote AaBbc AaBbCeDd sebe Hang 2 Heating Normal No seating

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CMSC140_Project1_Fall2019 - Saved to my Mac View Tell me References Mailings Review Aa A AlbceDo Accoote AaBbc AaBbCeDd sebe Hang 2 Heating Normal No seating Thank you for testing my program PROGRAMMER: Tina Lee CMSC140 Common Project 1 Due Date: 2/10/2019 Write a program that uses the script above as a guide without roles, 1.e. robot computer and visitor human, to prototype robot greeting in C++. See the Sample Screen Output below. Project Specifications Input Visitor's name An age Two numbers Output: The program should display the following data: Complete script described above Your name as the programmer Assignment/Project number Due date Processing Requirements 1. The program should declare and initialize (.e. create and assign values for) variables/constants to hold (at least) the following data: Robot Name. This variable will hold the Robot Name. Initialize the variable with "Nao" or a name of your choice. Visitor Name, this variable will hold the user's name. Age. This variable will hold a person's or a pet's age. A constant variable for Programmer's Name. Initialize the variable with your full name, A constant variable for Assignment Number. Initialize the variable with the value 1. A constant variable for Due Date. Initialize the variable with the due date of this . . ed States) Focus References Mailings Review View Tell me 21 AaBbCcDd Albcode Aalbcode ABCD Aa A 2A Heading 2 Heading 3 Normal No Sca A constant variable for Assignment Number. Initialize the variable with the value 1 A constant variable for Due Date. Initialize the variable with the due date of this assignment Constant variables for Days of Month, Human Year, Gold Fish Year. Initialize the variables, for example const int ONE_DOG_YEAR = 7; const int DAYS_PER_MONTH = 30; 2. Use the above variables when creating the output of the program, for example: Sant .CRR Include the following in your code: Program Header: All programming projects' source code need to have one block comment at the top of the program containing the course name and CRN, the project number, your name, project description, and the due date. Provide any additional comments as necessary to clarify the program. Following is a template of the required program header: e. classtCMSC140 CRN Instructor: * Project number> Description (Give a brief description for project - Due Date: . I pledge that I have completed the programming assignment independently. I have not copied the code from a student or any source I have not given my code to any student. Print your Name here Peudocode or Algorithm for the program (be sure to indont items with control structure) need to match tlow chart bitted in dosentation Focus Pseudocode or Algorithm for the program: (be sure to Indent items with control structure) (need to match flow chart submitted in documentation) 1. 2. 3. 4. 5. (more as needed) Comments: Add comment to variables, formulas, or any part of the program with the purpose of making the source code easier to understand. Indentation: It must be consistent throughout the program and must reflect the control structure. Proper naming conventions: Variable and method names need to be descriptive to show the role of the variable or method. Avoid single letter names. Constant names should be all upper case, variable names should use "camel case" (l.e. start with lower case, with subsequent words starting with upper case: hours Worked for example) or underscores to separate words (I.e. items_ordered). 3. Checklist (grading sheet posted on Blackboard): Specific project checklist and grading rubric worksheet should be completed with your name in the highlighted cell and your initials in the checkboxes. What to submit on Blackboard? You need to submit the following two files to Blackboard: Word document(docx) or .pdf: ElcsttoallastName. Pesnumber.docx or .pdf C++ file (source code): ErstinitialLastName. Pr.. . . O Focus Aute A EX-UE CMSC140 Grading Rubrie_Check List project1(3) View Tellime Home inert Draw Page Layout Formulas Data Review AA ( V General 28.0 3 A. $ - % Cando um Cal Formatting an alle tye For S&P Select 332 Pet PLANNING Feed TESTING 11 12 . 24 10 HOMINIS LANG Raman 2 Brod La primer your from pre Wheel AI 41 . hatte Outlet RRRR the whole with . 90 Autive ARBU. Home CMSC140 Grading Rubrie_Check List -project(3) View Tell me Insert Draw Page Layout Formulas Data Review c Lb Call(Body - AA General BI 29 wrap Tui - Marge & Center 28.0 OEM $ %) Condo For Formatting a Talde Style 31 eartbelte uma Sort 32 Sale M Soprogram In 3 youwd espachang Www Programming met 10 Author Power 29 Direct Pro WH tattoo 19 33 www 20 Now Noapter Net wordt Powe 30 0 Powe 55 11 0

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

More Books

Students also viewed these Databases questions