Write a code fragment that displays a message telling the user what type of data to enter, copies into the variables num1 and num2 the values entered by the user, and then echoes the values to the screen.

Given the following environment:
```
#include
using namespace std;
int main()
{
int num1;
double num2;
...
```


```
cout << "Enter an integer and a number that may include a fraction >>> "
cin >> num1>> num2;
cout << "You entered the values " << num1 << " and " << num2<< endl;
```

Computer Science & Information Technology

You might also like to view...

To start creating a merged document, click the ________ tab

A) HOME B) PAGE LAYOUT C) INSERT D) MAILINGS

Computer Science & Information Technology

When tables are exported into Excel from Access the table field names are displayed in Excel as these

a. Row labels b. Table names c. Column labels

Computer Science & Information Technology

If you do not assign a descriptive name to your publication, it will retain its default name "Publisher1".

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The COUNTA function is used to count the number of cells in a range that contain which type of data?

A. numbers B. dates C. formulas D. All of the above.

Computer Science & Information Technology