Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int n,i,j;
  6. cin>>n;
  7. int a[n][n];
  8. for(i=0;i<n;i++)
  9. {
  10. for(j=0;i<n;j++)
  11. {
  12. char m;
  13. cin>>m;
  14. if(m<='a'&&m<='z')
  15. {
  16. int x=64-int(m);
  17. a[i][j]=x;
  18. }
  19.  
  20. }
  21. }
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. return 0;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement