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
zvonat [6]
4 years ago
7

Assume the following variable definitions int a = 5, b = 12; double x = 3.4, z = 9.1. What are the values of the following expre

ssions?
a) x * a.
b) static_cast(x) * static_cast(z).
c) static_cast(x * z).
d) static_cast(b).
Computers and Technology
1 answer:
levacccp [35]4 years ago
4 0

Answer:

a) 17, b) 27, c) 30, d) 12

Explanation:

a) x * a

3.4 * 5 = 17

b) static_cast<int>(x) * static_cast<int>(z)

Casting a value to int makes it an integer. The above one equals int(3.4) * int(9.1) = 3 * 9 = 27

c) static_cast<int>(x * z)

Casting a value to int makes it an integer. The above one equals int(3.4 * 9.1) = int(30.94) = 30

d) static_cast<double>(b)

12

You might be interested in
A married man gets a new job in a company. After three months, he meets a younger woman in the finance department and they begin
pav-90 [236]

Answer:

False ( B )

Explanation:

Of  the seven IT  infrastructure domains The USER domain was not at risk because the User Domain is not task with handling the sharing of data or Mutual communication between users in a Typical IT infrastructure.

The domain charged with such responsibility is The LAN domain because the LAN domain is charged with the sharing of information between the USERS and maintaining good mutual communication, and since the relationship has become sour, the sharing of information between the users will suffer the most and it will be at a high risk

5 0
3 years ago
Charles would like to visit a specific page on the World Wide Web. How should he do it?
Ulleksa [173]
Charles should type in Https:web.com but should visit the sites containing ".org,".Gov'" and make sure they've been updated recently. 
 He should also check for authors and dates. 
 Or he can go to a library online if he is doing a research paper.


4 0
3 years ago
Which tab should you use when you want to create a shape?
tia_tia [17]

all pictures, images, clip art, shapes are in the insert tab

6 0
4 years ago
Read 2 more answers
Which part of a resume gives an account of past jobs and internships?
kirill [66]

Answer:

Internships section above your Work History section

Explanation:

5 0
3 years ago
To create an interactive Pivot Table for the web, we use a Ms office web component known as,
charle [14.2K]

Answer: Pivot Table Report

Explanation:

To create an interactive Pivot Table for the web, we can use a Ms office web component which is known as the pivot table report.

We should note that the pivot tables are simply used for the summarizing of data. Huge amounts of data can be processed with them, after which a report showing sums, averages, totals and every other calculations can be gotten.

5 0
3 years ago
Other questions:
  • You can choose which rules you want excel to use by enabling and disabling them in the ____ area in the excel options dialog box
    11·1 answer
  • Zadanie nr 1
    7·1 answer
  • A pizza cutter is a compound machine made up of what simple machines?
    7·1 answer
  • Which term describes the order of arrangement of files and folders on a computer?
    10·1 answer
  • The number 1 represent what state in binary code
    9·1 answer
  • Which line in the following program will cause a compiler error?
    9·1 answer
  • What does a wireless LAN (WLAN) act as to a wired network?
    12·1 answer
  • Classify computer software and write short note about it ?​
    6·1 answer
  • When using the red / yellow I green method to present status of a project, green can mean which of the following?
    15·2 answers
  • Read three integers from user input without a prompt. Then, print the product of those integers. Ex: If input is 2 3 5, output i
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!