1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ziro4ka [17]
3 years ago
12

Write a C class, Flower, that has three member variables of type string, int, and float, which respectively represent the name o

f the flower, its number of pedals, and price. Your class must include a constructor method that initializes each variable to an appropriate value, and your class should include functions for setting the value of each type, and getting the value of each type.
Computers and Technology
1 answer:
Ulleksa [173]3 years ago
3 0

Answer and Explanation:

C is a low level language and does not have classes. The language isn't based on object oriented programming(OOP) but is actually a foundation for higher level languages that adopt OOP like c++. Using c++ programming language we can implement the class, flower, with its three variables/properties and functions/methods since it is an object oriented programming language.

You might be interested in
Drag the tiles to the correct boxes to complete the pairs. Match the items with their respective descriptions.
WARRIOR [948]

1 protect a worksheet

2 drag the worksheet tab

3 rename worksheet

4 navigate between worksheet


7 0
4 years ago
A specific, individual computer or other network device in a domain is known as what?
KIM [24]
Hi I hope this helps. The answer is host.
5 0
3 years ago
A computer network is best described as two or more computers that are
ANTONII [103]
A computer network is best described as two or more computers that are linked together. 
6 0
3 years ago
After successfully building a machine language version of thePascal compiler, one could in principle discard the P-code interpre
MA_775_DIABLO [31]

Answer:

Pascal is a high-level programming language, and anyone can decide to write a machine language compiler with it, If Pascal language specifications get to change or somewhere in the code a bug is discovered, it will be easier to build the machine language compiler again from the Pascal code version than deciding to modify the machine language.

Explanation:

6 0
3 years ago
Explain the history of computing of mechanical era
OLga [1]

Answer:The Mechanical Era

Created a machine that could add and subtract numbers. Dials were used to enter the numbers. ... Designed a machine called the Analytical Engine. The design had all the basic components of a modern day computer. In addition, it was designed to be programmable using punched cards.

Explanation:Hope this helped

4 0
3 years ago
Read 2 more answers
Other questions:
  • a problem exists when the current condition differs from a desired condition. This idea defines which step in problem-solving?
    13·2 answers
  • Which of the following is a proper use of the application NetStumbler?Which of the following is a proper use of the application
    10·2 answers
  • Describe the GRANT statement and explain how it relates to security. What types of privileges may be granted? How are they revok
    15·1 answer
  • Which console was the first to use CD-ROM storage
    5·1 answer
  • Bullet points on a slide should be limited to _____.<br><br> A. 2<br> B. 4<br> C. 8<br> D. 10
    7·1 answer
  • Your assignment is to write an assembly language program which read a string and print it in uppercase. This program asks the us
    11·1 answer
  • Richard needs to copy information from another slide presentation that uses a different design template. To ensure that the info
    10·1 answer
  • Choose the correct term to complete the sentence.
    12·1 answer
  • Which of the following is true about media production? A. All media elements contain a certain type of editorial viewpoint. B. P
    10·1 answer
  • Assume the following:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!