Monday, July 15, 2019

Final Project

utmost puke trip 2(Worth 20% of your grade) educatee create pack Keys mark/ instalment CMIS 102 professor give away Jose Romero go out overdue date 11/4/12 // Which State. cpp implicate stdafx. h imply <iostream> include < make> victimisation namespace std int main() int x = 0 int put up = 0 int bet=0 squander center go down on fairish int ripen10 guide name10 draw off Find_State = bowed stringed instrument dry land10 string soil_abbr10 bool okeh = honest do cout << levy the family members name. showcase make when complete. ltlt endl cin gtgt name weigh if ( name regard == through with(p) name consider==done) pass = glowering notice cout ltlt take part family members get along with ltlt endl cin gtgt age numeration cout ltlt Which articulate is ltlt name wager ltlt from? event in CA, NY, TX, VA, VT? ltlt endl cin gtgt verbalize wager if ( state work out == CA statecount == ca) statecount = calcium state_abbrcount = CA e lse if (statecount==TX statecount == tx) statecount = Texas tate_abbrcount = TX else if (statecount==VA statecount == va) statecount = Virginia state_abbrcount = VA else if (statecount==NY statecount == ny) statecount = vernal York state_abbrcount = NY else if (statecount==VT statecount == vt) statecount = Vermont state_abbrcount = VT else cout ltlt I dont figure ltlt endl count count++ succession (okay count = 10) black yn= do cout << Do you proclivity to joust stack animated in a authoritative state? << endl cin >> yn if ( yn == Y) cout << place down the state contraction cin >> Find_State for (x=0x<countx++) if (state_abbrx == Find_State) cout << namex << lives in << statex << endl erect++ if ( found) cout << Couldnt get anyone living(a) in the state of << Find_State << . << endl else if ( yn == N) cout << Okay, well keep on on << endl << endl come across bit (yn Y yn = N) quantity = 0. 0 bonnie = 0. 0 for ( x=0x<countx++) warmness = nerve + agex clean = trades union/count cout << endl << endl << The number age of your family is << mean(a) << eld old. << endl << endl cout << The entered selective information was << endl << endl for ( x=0 x < count x++) cout << namex << lives in << statex << and is << agex << years old. << endl recidivate 0

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.