Computer Science, asked by aryanift97, 10 months ago

Write a Boolean expression that evaluates to true if a number stored a variable num is between 1 and 100

Answers

Answered by js403730
6

Answer:

Can the following conversions involving casting be allowed? Write a test program to verify it.

boolean b = true;

i = (int)b;

int i = 1;

boolean b = (boolean)i;

Show Answer

Answered by hearthacker54
3

Answer:

The number should be between 1 and 100 (i.e 1 < num < 100). we will write this in terms of

Explanation:

here is your answer mate mark as brainliest

Similar questions