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, 21.06.2019 16:30
Select the correct answer. larry finds it easy to run legacy programs and applications in a virtualized environment. how does the virtualization provider make this possible? a. combines workloads of several underutilized servers to fewer machines b. installs and runs different versions of an operating system on the same computing device c. moves virtual machines from one server to another server at a different location d. streamlines and automates management tasks
Answers: 1
question
Computers and Technology, 21.06.2019 21:30
Apower user needs you to install a second type of operating system on his computer to increase efficiency while running some specialized software programs. which installation technique should you use?
Answers: 3
question
Computers and Technology, 22.06.2019 06:00
The width of a piece of rectangular land is 5m shorter rhan 1/3 of its length .find the width of the land if the length is 60m,150m.
Answers: 1
question
Computers and Technology, 22.06.2019 12:30
An atom's diameter is about 0.1 nanometer (1Ă—10-9m), and a human hair is about 1Ă—10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
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
History, 20.05.2021 17:40
question
Mathematics, 20.05.2021 17:40
Questions on the website: 13722363