subject

Given:

int num1, num2, newnum;
double x, y;

which of the following assignments are valid? if an assignment is not valid, state the reason.

a. num1 = 35;

b. newnum = num1 – num2;

c. num1 = 5; num2 = 2 + num1; num1 = num2 / 3;

d. num1 * num2 = newnum;

e. x = 12 * num1 - 15.3;

f. num1 * 2 = newnum + num2;

g. x / y = x * y;

h. num2 = num1 % 2.0;

i. newnum = static_cast (x) % 5;

j. x = x + y - 5;

k. newnum = num1 + static_cast (4.6 / 2);

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
question
Computers and Technology, 23.06.2019 21:00
Uget brainliest if accurate mary has been given the responsibility of hiring a person for the position of a software testing officer. which management function would mary achieve this responsibility?
Answers: 1
question
Computers and Technology, 24.06.2019 06:00
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
You know the right answer?
Given:

int num1, num2, newnum;
double x, y;

which of the following...
Questions
question
Mathematics, 05.05.2020 08:09
question
Chemistry, 05.05.2020 08:09