Computer Science, asked by perfect184, 1 month ago

Construct logical expression to represent the following condition x is an uppercase letter

Answers

Answered by GιяℓуSσυℓ
0

Answer:

1). Construct logical expressions to represent the following conditions:

(A). weight is greater than or equal to 115 but less than 125.

(B). ch is q or Q.

(C).x is even but is not 26.

(D). x is even but is not a multiple of 26.

(E). donation is in the range 1,000?2,000 or guest is 1.

2). What is the variable type for each of the following declarations?

auto cars = 15;

auto iou = 150.37f;

auto level = 'B';

auto crat = U'/U00002155';

auto fract = 8.25f/2.5;

3). Declare variables matching the following descriptions:

A short integer with the value 80

An unsigned int integer with the value 42,110

An integer with the value 3,000,000,000

Answered by kanishettymamatha
0

Answer:

Construct logical expressions to represent the following conditions:

(A). weight is greater than or equal to 115 but less than 125.

(B). ch is q or Q.

(C).x is even but is not 26.

(D). x is even but is not a multiple of 26.

(E). donation is in the range 1,000?2,000 or guest is 1.

2). What is the variable type for each of the following declarations?

auto cars = 15;

auto iou = 150.37f;

auto level = 'B';

auto crat = U'/U00002155';

auto fract = 8.25f/2.5;

3). Declare variables matching the following descriptions:

A short integer with the value 80

An unsigned int integer with the value 42,110

An integer with the value 3,000,000,000

Logical Expressions:

Logical expressions are uses to show the values, comparisons, and equality of the variables.

Variable types: Variable type is used to show the type of variable.

Similar questions