Time when minute hand and hour hand coincide | CPP code to find the minute at which the minute hand and hour hand coincide ; function to find the minute ; finding the angle between minute hand and the first hour hand ; Driver code
#include <bits/stdc++.h> NEW_LINE using namespace std ; void find_time ( int h1 ) { int theta = 30 * h1 ; cout << " ( " << ( theta * 2 ) << " / " << "11" << " ) " << " ▁ minutes " ; } int main ( ) { int h1 = 3 ; find_time ( h1 ) ; return 0 ; }