Computer Science, asked by jklover, 1 month ago

A set is a collection of elements in which there is no duplication of elements. S = {1, 6, 9, 24} is a set of 4 integer elements. An array of integers may be used to represent a set. You may assume that there will a maximum of 50 elements in the set. Following are some member functions of the class Set Data members : arr [] : an array of integers n : an integer to store the total number of elements Member functions : Set(int nn) : constructor to initialize n=nn and the array arr[] void read() : reads the elements of the set void show() : displays the elements of the set int getsize() : returns n, the number of elements in the set int has(int ele) : returns 1 if ele belongs to the current set object otherwise 0 Set intersection(Set d) : returns the intersection of set object d and the current set object Set union(Set d) : returns the union of set object d and the current set object Specify the class DeciOct, giving details of the constructor and the functions. Also define a main() function to create an object and call the functions accordingly to enable the task.​

Answers

Answered by Aquilla5
4

Explanation:

  • returns the union of set object d and the current set object Specify the class DeciOct, giving details of the constructor and the functions. Also define a main() function to create an object and call the functions accordingly to enable the task.
  • Photosynthesis is the process by which plants use sunlight, water, and carbon dioxide to create oxygen and energy in the form of sugar.
Answered by XxAngelicSoulxX
8

Answer:

sorry I don't understand your questions❓❓

  • Photosynthesis is the process by which plants use sunlight, water, and carbon dioxide to create oxygen and energy in the form of sugar.
Similar questions