Question: I need this in C++ class Submission { public: /* Test 1 * Given an integer parameter years, return the * given value convert into

I need this in C++

I need this in C++ class Submission { public: /* Test 1

class Submission { public: /* Test 1 * Given an integer parameter "years", return the * given value convert into days. I * * Example input : * - 5 * * Expected output: *- 1 825 static int Test1(int years) / /Each year has 365 days int days = years * 365; return days

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!