Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   890

[Request]c programmer

by Timberg345 - 29 June, 2022 - 11:13 AM
This post is by a banned member (Timberg345) - Unhide
1.365
Posts
91
Threads
5 Years of service
#1
just need you for20 mins (max) :( 
need to solve just one single question pepeblush

sample : 
Consider the following structures defining the number of Men and Women population nof the states nested inside the structure containing name of the state, population, no. of districts in the state and literacy rate of the state. Create an array of 5 states and implement the following functions: struct population { int nw; int nm; }; struct state { char name[20]; struct population p1; int district; float lit_rate; }; a. Write the function to insert suitable data in the in the states. b. Display the state-wise data alphabetically as per state names. c. Find the state with highest Literacy rate. (There could be multiple states with Highest Literacy rate). d. Find the state with Lowest and Second Lowest no of districts in it. e. Find the state having maximum Women population. f. Sort the states with increasing order of population. (Total Population=nw+nm) g. Find the states where the men population is more than women population
This post is by a banned member (Timberg345) - Unhide
1.365
Posts
91
Threads
5 Years of service
Bumped #2
This is a bump

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)