Question: Dev C++ Project InstructionsCreate the PLD10-4 application . MAKE SURE NO SPACES ARE IN THE DIRECTORY PATH OR FILE NAME. Specifically perform the following. Create

Dev C++ Project InstructionsCreate the "PLD10-4" application . MAKE SURE NO SPACES ARE IN THE DIRECTORY PATH OR FILE NAME. Specifically perform the following.

Create a Folder, "PLD10-4" (e.g., "C:\COP1000\PLD10-4") Copy "Computer.h" & "Computer.cpp" files (located in "Project15" folder) into the "PLD10-4" folder.

Dev C++ Project InstructionsCreate the "PLD10-4" application . MAKE SURE NO SPACESARE IN THE DIRECTORY PATH OR FILE NAME. Specifically perform the following.Createa Folder, "PLD10-4" (e.g., "C:\COP1000\PLD10-4") Copy "Computer.h" & "Computer.cpp" files (located in

#include #include #include "Computer.h" using namespace std; Computer::Computer( ) { make=""; // Make model=""; // Model memory=0; // RAM } void Computer::setMake(string ma) { make = ma; } void Computer::setModel(string mod) { model = mod; } void Computer::setMemory(int mem) { memory = mem; } string Computer::getMake( ) { return make; } string Computer::getModel( ) { return model; } int Computer::getMemory( ) { return memory; } void Computer::displayComputer() { cout using namespace std; #ifndef _Computer #define _Computer class Computer { private: string make; // computer make string model; // computer model int memory; // computer RAM public: Computer( ); void setMake(string ma); void setModel(string mod); void setMemory(int mem); string getMake( ); string getModel( ); int getMemory( ); void displayComputer(); }; #endif // Pseudocode PLD Chapter 10 #4 pg. 461 // Start // Declarations // Computer myComputer // string make // string model // int memory // output "Please enter the Make: " // input make // output "Please enter the Model: " // input model // output "Please enter the Amount of Memory: " // input memory // Set the Make for myComputer // Set the Model for myComputer // Set the Amount of Memory for myComputer // output "Make: ", myComputer.getMake() // output "Model: ", myComputer.getModel() // output "Amount of Memory: ", myComputer.getMemory() // Stop

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 Programming Questions!