subject

Hi guys i need do this homework, i just need choose 2 of 3 exercises, anyone can me with the code in c++
1.implement an algorithm that allows the calculation of the letter of an immigration card,
ask for the identification number on the keypad and return the number of the foreign identity card
full.
to calculate the letter, the rest is taken to divide the number of the card by 23, the
result must be between 0 and 23. take the rest of the division and look for the position that
correspond to the letter in an array of characters.
t r w a g m y f p d x b n j z s q v h l c k e
2. we want to store in a matrix the notes of the students of the course groups of
computer science 1. assuming there are 3 groups and in each group there are 20 students enrolled,
it asks:
a) to assign the notes use the rand function (notes [j] = rand% 5.0)
b) print what is the average grade of each group.
c) print the highest grade in general.
d) print all notes by group.
e) print how many students passed and how many failed each group.
3. a cinema gives discounts on wednesdays depending on the age of each client. decide
by means of an algorithm the amount of money that the cinema receives in each category, is
you must make with the entry of 5 people to the cinema and the discounts are as follows: or
age between 5 and 17 years discount of 30% or age between 18 and 25 years discount of 20% or
age between 26 and more 10% discount it should be taken into account that children under
5 years can not enter the cinema and the ticket is $ 8,000 pesos
usually.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
Which of the choices sean are not true when considering virus behavior
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
You know the right answer?
Hi guys i need do this homework, i just need choose 2 of 3 exercises, anyone can me with the code i...
Questions
question
Mathematics, 26.08.2020 23:01