+ 2

Do u know how to create a function to print out the draft picks with their names?

c++

21st Sep 2018, 5:21 AM
Debby
Debby - avatar
7 odpowiedzi
+ 5
here is the example you can look into. https://code.sololearn.com/cf0b8SOR8c72/?ref=app
21st Sep 2018, 5:52 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
Sorry, i don't understand your question. can you be more specific?
21st Sep 2018, 5:23 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
okay, so you want to randomly choice team names?
21st Sep 2018, 5:34 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 2
Debby no problem. but you have to change values of rand() % 5 to anything that you want. like if you want to generate random string out of 10 change it to rand() % 10. understood?
21st Sep 2018, 6:02 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
the question is about verify pick for 4 teams. It asked me to create a function to print out the draft picks with team names cout << "number" << number << "pick is : " << teamOneName << "has been selected."
21st Sep 2018, 5:31 AM
Debby
Debby - avatar
+ 1
yeaa and i have to create an output for the name that has been selected
21st Sep 2018, 5:43 AM
Debby
Debby - avatar
+ 1
cool! thanks!:)
21st Sep 2018, 5:59 AM
Debby
Debby - avatar