#include <iostream> using namespace std; int main() { /** Author: Programmer Fahad Shahzad */ cout<<"<<<<<<<<<<<<WELCOME TO SUKKUR IBA UNIVERSITY EDC CENTER>>>>>>>>>"<<endl; float MOS_fees,ICT_fees,science_fees,ECE_fees,Ethical_fees; unsigned short partc_mos_trnng,prtc_ict_trnng,prtc_science_trnng,prtc_ECE_trnng,prtc_Ethical_trnng;//traning=trnng unsigned short ammount_for_mos_trnng,ammount_for_ICT_trnng,ammount_for_ECE_trnng,ammount_for_Ethical_trnng,ammount_for_science_trnng; float gross_total_sum; MOS_fees=15000; ICT_fees=20000; science_fees=50000; ECE_fees=10000; Ethical_fees=30000; cout<<"MOS_fees "<<MOS_fees<<endl; cout<<"ICT_fees "<<ICT_fees<<endl; cout<<"science_fees "<<science_fees<<endl; cout<<"ECE_fees "<<ECE_fees<<endl; cout<<"Ethical_fees "<<Ethical_fees<<endl; cout<<" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>"<<endl; cout<<"partc_mos_trnng: ";cin>>partc_mos_trnng; cout<<"prtc_ict_trnng: ";cin>>prtc_ict_trnng; cout<<"prtc_science_trnng: ";cin>>prtc_science_trnng; cout<<"prtc_ECE_trnng: ";cin>>prtc_ECE_trnng; cout<<"prtc_Ethical_trnng: ";cin>>prtc_Ethical_trnng; cout<<" <<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"<<endl; ammount_for_mos_trnng=partc_mos_trnng*(15000); ammount_for_ICT_trnng=prtc_ict_trnng*(20000); ammount_for_ECE_trnng=prtc_ECE_trnng*(10000); ammount_for_Ethical_trnng=prtc_Ethical_trnng*(30000); ammount_for_science_trnng=prtc_science_trnng*(50000); cout<<" <<<<<<<<<<<<<<<<>>>>>>>>>>>>>>> "<<endl; cout<<"ammount_for_mos_trnng= "<<ammount_for_mos_trnng<<endl; cout<<"ammount_for_ICT_trnng= "<<ammount_for_ICT_trnng<<endl; cout<<"ammount_for_ECE_trnng= "<<ammount_for_ECE_trnng<<endl; cout<<"ammount_for_Ethical_trnng= "<<ammount_for_Ethical_trnng<<endl; cout<<"ammount_for_science_trnng= "<<ammount_for_science_trnng<<endl; gross_total_sum=ammount_for_mos_trnng+ammount_for_ICT_trnng+ammount_for_ECE_trnng+ammount_for_Ethical_trnng+ammount_for_science_trnng; cout<<"gross_total="<<gross_total_sum<<endl; system("PAUSE"); return 0; }
|
Comments
Post a Comment
Let me know your doubts