CSCI 261 - Programming ConceptsSpring 2019 - Lab 8A - GodzillaQuick Links: Canvas | Mines | Piazza | zyBooks | 
|
| | Home | Contact | Syllabus | Assignments | Schedule | Resources | | |
| 
 This lab is due by Tuesday, April 30, 2019, 11:59 PM. ConceptsFocus on defining a Godzilla class from
    scratch. 
Suggestion: Use NotePad or WordPad
    Consider using NotePad or WordPad on your computer to write your code
    for this lab. Once you feel good about what you've written, then copy
    the code into your project. Doing this will help you see where
    you might make mistakes on the exam!
 
    You should write a
     
main.cpp
    that tests each feature of your class works as expected. You
    will need to submit your class declaration file, your class
    definition file, and your
    main.cpp
    file for this lab.
Godzilla Class
    We are going to declare a class called  
Godzilla that will allow us to ultimately simulate a battle
    between Godzilla & Mechagodzilla.
    Create a new class called Godzilla that
    contains data members for storing the name (as a string), the health and power (as doubles) of a Godzilla creature.
    Functions you should include in your class:
    
 To verify your objects are correct, output the health & power of Godzilla and Mechagodzilla. Lab SubmissionYou will submit your solution to this lab with the rest of Set8. Detailed instructions for doing this are posted in Assignment 8. This lab is due by Tuesday, April 30, 2019, 11:59 PM.  | |
| 
 Last Updated: 11/09/18 19:25 
 |