#include using namespace std; int main( ){ int n = -1; while(n != 0){ cout << " ثبت دقیقه مکالمه "<>n; if(n == 1){ // sabt daqiqe mokaleme // Implement whatever you want }else if(n == 2){ // sabt hajm baraye download ya upload // Implement whatever you want }else if(n == 3){ // afzayesh mojodi kif poole int be = -1; do{ // menu B cout << "هزار تومن"<> be; if( be == 1){ // 1000 tomn }else if(be == 2){ // 2000 tomn }else if(be == 3){ // 5000 tomn }else if(be == 4){ // 10,000 tomn }else if (be == 5){ // harchi dost dari }else{ // command not supported. } }while(be != 0); }else if(n == 4){ int jim = -1; do{ // menu Jim cout << "هشت دقیقه"<> jim; if(jim == 1){ // 8 daqiqe }else if(jim == 2){ // 30 daqiqe }else if(jim == 3){ // 100 daqiqe }else{ // command not supported } }while(jim != 0); }else if(n == 5){ int dal = -1; do{ // menu Dal cout << "سیصد مگابایت"<> dal; switch(dal){ case 1: // your code break; case 2: // your code break; case 3: // your code break; default: cout<< "command doesn\'t exist."; break; } }while(dal != 0); }else if( n== 6 ){ // status chap kon }else{ cout<< "Command not supported"<