Guest User

Untitled

a guest
May 11th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3. #include <conio.h>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. int n, a;
  10. cin>>n;
  11. for(int i=0; i<n;i++){ cin>>a; cout<<a%7<<endl;}
  12. }
Advertisement
Add Comment
Please, Sign In to add comment