Computers and Technology

1.given the variables temperature and humidity, write an expression that evaluates to true if and only if the temperature is greater than 90 and the humidity is less than 10

2. given the integer variables yearswithcompany and department, write an expression that evaluates to true if yearswithcompany is less than 5 and department is not equalto 99

3. given the variables isfulltimestudent and age, write an expression that evaluates to true if age is less than 19 or isfulltimestudent is true

4. write an expression that evaluates to true if and only if value of the integer variable isamember is false

5. assume that an int variable workedovertime has been declared, and that an int variable hoursworked has been declared and initialized. write a statement that assigns the value 1 if hoursworked is greater than 40 and 0 otherwise.

6.assume that an int variable isquadrilateral has been declared, and that another int variable, numberofsides has been declared and initialized. write a statement that assigns the value 1 if numberofsides is exactly 4 and 0 otherwise.

(all in c language)

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:00, banna01man
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
image
Computers and Technology, 22.06.2019 15:00, 2alshawe201
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
image
Computers and Technology, 22.06.2019 22:00, delawdermia27
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
image
Computers and Technology, 23.06.2019 00:00, puppylove899
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
Do you know the correct answer?
1.given the variables temperature and humidity, write an expression that evaluates to true if and on...

Questions in other subjects:

Konu
Mathematics, 19.07.2021 23:50