Fill in the blanks   to complete the following function according to the description provided.   Description of the function: The DataRequest function asks the user for the radius of a cylinder base (r) and the height of the cylinder (h). The function only fills in the 2 data. Another function will use these 2 data later.    Important Instructions:   If any of the spaces to be filled in should remain empty, place an X as an answer.    -When you need to define the variables, use the variable name as it is used in the code of the function provided. -For reference, remember that the data types are int, double, char, bool. ********PideDatos = askfor data Entre el radio de la base del cilindro = enter the cylinder's base radius. Radio invalido = Invalid radius Entre altura = Enter height Altura invalida = invalid height******

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 1TF: Mark the following statements as true or false: a. To use a predefined function in a program, you...
icon
Related questions
Question

Fill in the blanks

 

to complete the following function according to the description provided.

 

Description of the function:

The DataRequest function asks the user for the radius of a cylinder base (r) and the height of the cylinder (h). The function only fills in the 2 data. Another function will use these 2 data later. 

 

Important Instructions:

 

If any of the spaces to be filled in should remain empty, place an X as an answer. 

 

-When you need to define the variables, use the variable name as it is used in the code of the function provided.

-For reference, remember that the data types are int, double, char, bool.

********PideDatos = askfor data

Entre el radio de la base del cilindro = enter the cylinder's base radius.

Radio invalido = Invalid radius

Entre altura = Enter height

Altura invalida = invalid height******

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Types of Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr