Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- float a;
- cout<<"nhap so a=";
- cin>>a;
- int phannguyen;
- phannguyen=int(a);
- cout<<"phan nguyen la`:"<<endl;
- cout<<phannguyen;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement