Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main (){
  4. float n;
  5. cout << " nhap 1 so duoi dang so thuc =";
  6. cin>> n;
  7. cout << " n duoc chuyen thanh so nguyen = " << int(n);
  8. return(0);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement