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

रामायण

रामायण दशरथ की तीन पत्नियाँ – कौशल्या, सुमित्रा , कैकेयी दशरथ के चार पुत्र – राम,लक्ष्मण,भरत,शत्रुघ्न दशरथ: राम के पिता और कौशल के राजा कौशल...