Need help
#include <iostream> using namespace std; void sav(int x){ if(x==0){ cout<<" saving account opened successfully "<<endl;} if(x==1){ cout<<" salary account opened successfully "<<endl; } cout<<"date march 2020"<<endl; } int s(int x){ int save,sum=x; save=2*x/100; sum=sum+save; return sum; } int month(int p){ for(int x=3;x<=8;x++) { x+=1; x++; return x; }} int main() { int a,b,num1,num2,d; cout<<"enter 0 to open saving account "<<endl; cin>>a; cout<<"enter 1 to open salary account "<<endl; cin>>b; sav(a); sav(b); cout<<"enter money for saving account "<<endl; cin>>num1; cout<<"enter money in salary account "<<endl; cin>>num2; cout<<"after 1 month saving account money with profit "<<s(num1)<<endl; cout<<"after one month money in salary account"<<num2<<endl; cout<<"month no "<<endl; cin>>d; cout<<month(d); return 0; }