...

/

Exercise 4: Discount? Wow

Exercise 4: Discount? Wow

In this exercise, you will be required to write a set function both with and without the set keyword.

Problem Statement

This exercise has two parts.

First Part

The shop decided to offer a 10% discount on Cheese. In the first part, you are required to write a set function ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy