subject
Computers and Technology, 06.09.2021 17:40 vivi297

Um canal de jogos do está fazendo um sorteio para angariar doações para pessoas em situação de vulnerabilidade social. A cada 10,00 doado o nome da
pessoa é inserido em uma lista de sorteio, por exemplo:
Ruth doou 20,00;
Maria doou 30,00;
Fernando doou 50,00;
A lista de sorteio estará com os valores:
listaSorteio = [‘Ruth’, ‘Ruth’, ’Maria’, ’Maria’, ’Maria’, ’Fernando’, ’Fernando’,
’Fernando’, ’Fernando’, ’Fernando’]
Implemente um programa para cadastrar o nome das pessoas que doaram. O
programa deve embaralhar a lista, sortear o ganhador e imprimir o seu nome.
Imprima na tela um teste do seu programa utilizando como primeiro doador o seu
nome e os dois últimos dígitos do seu RU para o valor doado. Não se esqueça de
imprimir também a lista de sorteio.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
You know the right answer?
Um canal de jogos do está fazendo um sorteio para angariar doações para pessoas em situação de vul...
Questions
question
Mathematics, 23.05.2020 22:01
question
Mathematics, 23.05.2020 22:01
Questions on the website: 13722363