Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Câu 3:
- #include <iostream>
- using namespace std;
- int main()
- {
- float a;
- cout<<"nhap so a:";
- cin>> a;
- a=int(a);
- cout<<"phan nguyen cua so a="<<a;
- return 0;
- }
- Câu 2:
- #include <iostream>
- using namespace std;
- int main()
- {
- float a;
- cout<<"nhap so a:";
- cin>> a;
- a=int(a);
- cout<<"phan nguyen cua so a="<<a;
- return 0;
- }
- Câu 1:
- #include <iostream>
- using namespace std;
- int main()
- {
- float a;
- cout<<"nhap so a:";
- cin>> a;
- a=int(a);
- cout<<"phan nguyen cua so a="<<a;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement