Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Nhap vao n xac dinh la so chan han so le
- // Khai bao cac ham thu vien neu co
- #include<stdio.h>
- #include<conio.h>
- void main()
- {
- int n;
- scanf("%d",&n);
- if(n%2==0)
- {
- printf ("%d la so chan",n);
- }
- else
- {
- printf(" %d la so le",n);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement