Answer:
Explanation:
#include <iostream>
using namespace std;
double cube(double);
int main()
{
double ci=0;
cout << "Enter avalue :";
cin >> ci;
cout << "Cube of " << ci << "is =" << cube(ci) << endl;
return 0;
}
double cube(double i)
{
return(i*i*i);
}
Answer:
The statements which are true are;
- A user-defined data type can include other user-defined data types
- A user-defined data type is defined using a class
- A user-defined data type can include a list
Explanation:
A user-defined data type (UDT) is a datatype that is defined and derived by the use of the datatypes which preexist including existing user-defined datatypes and the built-in datatypes
It is therefore true that a user-defined data type can include other user-defined data types
A class is a user-defined data type that contains both its member data and member functions, that can be used when an instance of the class is first created
Therefore, a user-defined data type is defined using a class
In a user-defined data type, a variable has actual data within it which can include an array or list
Therefore a user-defined data type can include a list.
The OS shell allows access to the operating system services
Answer:
The JavaScript statement is
var str1 = "Information Technology";
var result = str1.toUpperCase();
Explanation:
JavaScript is used to validate the client side it means it provide the client side validation.
Following are the function of JavaScript that converted the string into uppercase.
function val()
{
var str1 = "Information Technology ";
var result = str1.toUpperCase();
}
The toUpperCase() function convert the string into uppercase in JavaScript
OUTPUT
INFORMATION TECHNOLOGY
One risk might be that they might use copyright music and and the music creator might take legal action.