Login
Register
All Activity
Questions
Unanswered
Tags
Books
@ProAnswers
Enter your email address:
C Books Guide and List
C++ Books Guide and List
Best Java Books
please replay
0
votes
Given the definition of the class clockType with constructors (as described in the
M211 textbook), what is the output of the following C++ code?
clockType clock1;
clockType clock2 (23, 13, 75);
clock1.printTime();
cout << endl;
clock2.printTime();
cout << endl;
clock1.setTime(6, 59, 39);
clock1.printTime();
cout << endl;
clock1.setTime (1, 13, 0);
if (clock1.equalTime(clock2))
cout << “Clock1 time is the same as clock2 time.” << endl;
else
cout << “The two times are different.” << endl;
asked
by
anonymous
0 Answers
Related questions
0
votes
1
answer
Please tell me difference between perl,python,AWK,sed?
asked
by
anonymous
perl
awk
sed
python
0
votes
0
answers
Answer please
asked
by
Alokesh Ghosh
Sr Member
(
1,180
points)
0
votes
0
answers
Can you please explain me how binary code work?
asked
by
anonymous