[SOLVED] CS // Workshop 3:

$25

File Name: CS_//_Workshop_3:.zip
File Size: 160.14 KB

5/5 - (1 vote)

// Workshop 3:
// Version: 0.9
// Date: 2021/1/31
// Author: Fardad Soleimanloo
// Description:
// This file tests the lab section of your workshop
// Do not modify this code when submitting
/////////////////////////////////////////////
#include Bill.h
using namespace sdds;
int main() {
Bill B;
B.init(Quick Shopping, 5);
B.add(Milk 2%, 4.99, false);
B.display();
B.add(nullptr, 15.50, true);
B.add(Frying Pan, 24.99, true);
B.add(Eggs, -2.99, false);
B.display();
B.deallocate();
B.init(Quick Shopping, 5);
B.add(Milk 2%, 4.99, false);
B.add(Spatula, 15.50, true);
B.add(Frying Pan, 24.99, true);
B.add(Eggs, 5.99, false);
B.add(Bug Spray, 9.99, true);
B.display();
B.deallocate();
return 0;
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS // Workshop 3:
$25