Advertisement
adibahbab4108

C211009-ADIB

Oct 27th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int price[3]={150,100,200},total;
  7.  
  8.     int x,y;
  9.     cin>>x>>y;
  10.  
  11.     cout<<price[x-1]*y<<" TK"<<endl;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement