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 09:30, relic7391
Is a string of code written to hurt others by damaging or destroying
Answers: 1
image
Computers and Technology, 23.06.2019 06:30, Knownothing
When early motion pictures played in movie theaters, they were often accompanied by live organ or piano music. which of the following are the most likely reasons that this happened? (select all that apply). the music was provided to distract audience members from the loud sounds made when filmstrips were changed. the music accompanied the movies because the movies were silent and audiences were used to hearing music during plays in theaters. the music usually was played before, and sometimes after the movie, as an alternative form of entertainment. the music viewers to interpret the dramatic action in the films.
Answers: 2
image
Computers and Technology, 24.06.2019 07:20, stephanieyingepbtcf8
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
image
Computers and Technology, 24.06.2019 15:00, MilanPatel
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
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, 19.01.2020 05:31