Write a class with name time make a constructor which


Write a class with name Time.

Make a constructor which calculates the given time in minutes {if input time is 1hr, then the constructor should return 60minutes. }

Make another constructor which calculates the time in seconds. { if the input time is 1hr, then the constructor should return 60*60=3600 seconds}.

Display the contents of both the constructors

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a class with name time make a constructor which
Reference No:- TGS01009469

Expected delivery within 24 Hours