Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- int main(){
- int n;
- printf("\nNhap so nguyen: ");
- scanf_s("%d", &n);
- int cung = ((n * 10) % 360) / 90 + 1;
- printf("\nCung thu : %d", cung);
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement