Advertisement
AJTAMjid2000

Untitled

Jun 8th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. #include<bits\stdc++.h>
  2. using namespace std;
  3. typedef long long ll;
  4. int main()
  5. {
  6.    
  7.     map<string, ll> mp;
  8.     mp["Shadia"]=2;                                
  9.     mp["Sanjida"]=3;
  10.     mp["Susmita"]=4;
  11.     mp["Sumiya"]=5;
  12.     cout<<mp["Shadia"]<<endl;
  13.     cout<<mp["Sanjida"]<<endl;
  14.     cout<<mp["Susmita"]<<endl;
  15.     cout<<mp["Sumiya"]<<endl;
  16.  
  17.  
  18.     return 0;
  19. }
  20.  
  21. /* here Sadia, Sanjida , Susmita , Sumiya are big any. so i don't want to use it in my program. so, i assume
  22. Sadia=2 , Sanjida = 3 , Susmita =4  ,  Sumiya  =  5 */
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement