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, 23.06.2019 18:00
Which is a possible benefit of having a good credit history? having a checking account low interest rate on a car loan high interest rate on a credit card offer bankruptcy
Answers: 1
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput.find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
question
Computers and Technology, 24.06.2019 12:30
Nikki sent flyers in the mail to all houses within the city limits promoting her computer repair service what type of promotion is this and example of
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
question
Mathematics, 02.06.2020 23:00
question
Mathematics, 02.06.2020 23:00
question
English, 02.06.2020 23:00
Questions on the website: 13722363