#include<iostream>
using namespace std;
#include<conio.h>
int main ()
{
long t,m,w,lm,lw,l,im,iw;
t=80000;
m=80000*52/100;
w=t-m;
lm=t*35/100;
l=t*48/100;
lw=l-lm;
im=m-lm;
iw=w-lw;
cout<<"Total population = "<<t;
cout<<"\nTotal men = "<<m;
cout<<"\nTotal women = "<<w;
cout<<"\nTotal literate men = "<<lm;
cout<<"\nTotal literate women = "<<lw;
cout<<"\nTotal illiterate men = "<<im;
cout<<"\nTotal illiterate women = "<<iw;
getche();
return 0;
Understandable C and C++ programming tutorials, compiler reviews, source code, tips and tricks.
*/
}
using namespace std;
#include<conio.h>
int main ()
{
long t,m,w,lm,lw,l,im,iw;
t=80000;
m=80000*52/100;
w=t-m;
lm=t*35/100;
l=t*48/100;
lw=l-lm;
im=m-lm;
iw=w-lw;
cout<<"Total population = "<<t;
cout<<"\nTotal men = "<<m;
cout<<"\nTotal women = "<<w;
cout<<"\nTotal literate men = "<<lm;
cout<<"\nTotal literate women = "<<lw;
cout<<"\nTotal illiterate men = "<<im;
cout<<"\nTotal illiterate women = "<<iw;
getche();
return 0;
/* Letuswithc:
this page is designed to help you learn C or C++.Understandable C and C++ programming tutorials, compiler reviews, source code, tips and tricks.
*/
}
i am very glade you solve my problem
ReplyDeleteCan I know your instgram account
ReplyDelete