google.com, pub-4617457846989927, DIRECT, f08c47fec0942fa0 Learn to enjoy every minute of your life.Only I can change my life.: Write a CPP program to find the minute at which the minute hand and hour hand coincide.

Thursday, December 19, 2019

Write a CPP program to find the minute at which the minute hand and hour hand coincide.

Write a CPP program to find the minute at which the minute hand and hour hand coincide.

#include
#include  
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;
}


Output :
(180/11) minutes

No comments:

Post a Comment

शिव भोलेनाथ स्तुति

 जय शिवशंकर, जय गंगाधर, करुणा-कर करतार हरे,   जय कैलाशी, जय अविनाशी, सुखराशि, सुख-सार हरे जय शशि-शेखर, जय डमरू-धर जय-जय प्रेमागार हरे,   जय ...