Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main(void){
- int a , b;
- cout<<"Informa um valor numerico de 2 unidades"<<endl;
- cin>>a;
- b = a % 10 ;
- cout<<b;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement