subject
Mathematics, 14.09.2019 09:30 caromaybelline71

Write a code (in any programming language) that receives two sets a and b and decides whether a b or not: input: m (a positive integer), n (a positive integer), a], a2]., am] (a one dimensional array representing a), bb2], b[n] (a one dimensional array representing b) output: a string "yes" or "no" output example: > > enter m: 3 > enter n: 6 > enter elements of a: 3,6, 8 > enter elements of b: 1,3,4,6,7,8 > > "yes, a is a subset of b" another output example: > > enter m: 4 > > enter n: 5 > > enter elements of a: 3,6,8,9 > > enter elements of b: 1,2,3,6,9 > > "no, a is not a subset of b"

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 20.06.2019 18:04
Choose the graph that matches the following system of equations: 7x + 2y = −6 6x − 7y = 21 a line includes points negative 2 comma 4 and 0 comma negative 3. a line includes points 6 comma 2 and 0 comma negative 3 a line includes points 0 comma negative 3 and 6 comma 2. a line includes points negative 2 comma 1 and negative 3 comma 4 a line includes points 0 comma negative 3 and negative 1 comma 4. a line includes points 0 comma negative 3 and negative 1 comma 3 a line includes points 0 comma 3 and negative 1 comma negative 3. a line includes points 0 comma negative 3 and negative 2 comma 4.
Answers: 1
question
Mathematics, 21.06.2019 15:00
What is the compound interest in a three-year, $100,000 loan at a 10 percent annual interest rate a) 10.00 b) 21.00 c) 33.10 d) 46.41
Answers: 1
question
Mathematics, 21.06.2019 21:00
Write the equation in logarithmic form m^x=n
Answers: 1
question
Mathematics, 22.06.2019 02:20
Find the measure of anglec in the following triangle
Answers: 1
You know the right answer?
Write a code (in any programming language) that receives two sets a and b and decides whether a b or...
Questions
question
Mathematics, 07.10.2020 01:01
question
Mathematics, 07.10.2020 01:01
question
Mathematics, 07.10.2020 01:01
Questions on the website: 13722360