Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- float m, n;
- printf("Input m, n: ");
- scanf("%f %f", &m, &n);
- float t;
- printf("%f\n", 60*m - 11*n);
- if (60*m - 11*n >= 0)
- t = (60*m - 11*n) / 11;
- else
- t = (720 + 60*m - 11*n) / 11;
- printf("%f", t);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement