Question: I am coding to make a digital clock using the Mbed Complier. The clock works perfectly well but I need help implementing an AM/PM system

I am coding to make a digital clock using the Mbed Complier. The clock works perfectly well but I need help implementing an AM/PM system into this code.

I am coding to make a digital clock using the Mbed Complier.

#include "mbed.h" 3 int main) int h = 12; int 3-0; while(1) if (3>59) ( 12 16 17 if (m>59) ( m0: 19 20 21 if (h>12) h = 1; 23 printf(" %02d:%02d:%02-t,h,m,?); 26 28 wait (1) #include "mbed.h" 3 int main) int h = 12; int 3-0; while(1) if (3>59) ( 12 16 17 if (m>59) ( m0: 19 20 21 if (h>12) h = 1; 23 printf(" %02d:%02d:%02-t,h,m,?); 26 28 wait (1)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!