If a = 6, b = 2 and c = 5,
then value of (a <= b) || (b != c) is…
===========
If a = 64,
then value of sqrt(a) is…
===========
If a = 6, b = 8 and c = 7, then value of min(a,max(b,c)) is…
===========
What are possible x values, if
x = rand()%5+23;
===========
If it is necessary to generate a random number x, and its possible values are whole numbers
12; 13; 14; 15; 16; 17; 18,
then C++ program will be like following
Create a program that asks the user to enter three integers and determines whether you can choose two between the three numbers you enter so that their amount is less than zero.
For example, if a user enters numbers 3, 4, and -3, the program prints the message "CANNOT", and if you enter numbers -1, 0, and 2, the message "CAN" is printed.