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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:30, gudon986732
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
image
Computers and Technology, 22.06.2019 19:00, trintrin227
In he example code, what does the title attribute create? a tool tip an element a source a markup
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, lm18618
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
image
Computers and Technology, 23.06.2019 08:30, sofigaviria05
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
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 in other subjects:

Konu
Mathematics, 11.09.2020 14:01
Konu
Biology, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Chemistry, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
History, 11.09.2020 14:01
Konu
Physics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Chemistry, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01