Question: In c++ 1 Vinclude 3 #include Objectives Farniliarize the studennt withh: 5 using nanespaco * sets-creating then . sets-counting clements of a specific valuc: .
In c++
1 Vinclude 3 #include Objectives Farniliarize the studennt withh: 5 using nanespaco * sets-creating then . sets-counting clements of a specific valuc: . sets-finding clements of a spectfic valuc: . sets-lterating over them your code 9 int min) f cet cdouble, ereatercdouble> valuesA 1.1, 2.9, ., 2.71 : 3.14, 2.1,-3.88, 2.19 printing on screen 12 et > values double value; cin >> value; 14 Scenario your code Write a program that creates two sets (the sets are gven in the code below) and asks the user for a number. Next your program should count how many times the given number appears in both sets. if it is not tound, then display: "Not found". but if it is found (cuuaL0), then display a to the end of the set separated with spaces. Create a function to do all ot these operations with the set and the number, and call it twice (tor both setsi Your version ot the program must print the same result as the expected output for all given input. Test it for all input cases. 17 all the elements from the found elemnt Example input 2.71 Example output 2.71-1.1 -2.3 2.71 2.19-3.11-3.88 Example input 2.19 Console? Example output Not tound 2.19-3.14-388 1 Vinclude 3 #include Objectives Farniliarize the studennt withh: 5 using nanespaco * sets-creating then . sets-counting clements of a specific valuc: . sets-finding clements of a spectfic valuc: . sets-lterating over them your code 9 int min) f cet cdouble, ereatercdouble> valuesA 1.1, 2.9, ., 2.71 : 3.14, 2.1,-3.88, 2.19 printing on screen 12 et > values double value; cin >> value; 14 Scenario your code Write a program that creates two sets (the sets are gven in the code below) and asks the user for a number. Next your program should count how many times the given number appears in both sets. if it is not tound, then display: "Not found". but if it is found (cuuaL0), then display a to the end of the set separated with spaces. Create a function to do all ot these operations with the set and the number, and call it twice (tor both setsi Your version ot the program must print the same result as the expected output for all given input. Test it for all input cases. 17 all the elements from the found elemnt Example input 2.71 Example output 2.71-1.1 -2.3 2.71 2.19-3.11-3.88 Example input 2.19 Console? Example output Not tound 2.19-3.14-388