Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

More logic problems! The "Clock Angle" problem.

Notifications You must be signed in to change notification settings

tjlauer/MavPASS_CIS122_20211007

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MavPASS_CIS122_20211007

More logic problems! The "Clock Angle" problem.

Today we decided to relax a bit after the exam, so we did a logic problem!


The Problem

Given a time in the HH:mm format, calculate the shorter angle between the two hands of an analog clock in degrees.


The Files

Program.cs

  • The driver code to test the solutions.

ClockAngle_Tom.cs

  • Tom's solution to the clock angle problem.

ClockAngle.cs

  • The student's solution to the clock angle problem.

The Whiteboard

A picture of the whiteboard

  • A picture of the whiteboard that the students used to work out a solution to the problem.
  • All students present worked collaboratively on the whiteboard, i.e. each wrote something on the board.



As always, if you have any questions please send me an email at thomas.lauer@mnsu.edu.

I will see you on Tuesday!

About

More logic problems! The "Clock Angle" problem.

Topics

Resources

Stars

Watchers

Forks

Languages