1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lisov135 [29]
3 years ago
7

Write an expression that evaluates to true if and only if the value of the integer variable workedOvertime is true.

Computers and Technology
1 answer:
snow_tiger [21]3 years ago
4 0

Answer:

The expression of this question can be given as:

(workedOvertime == true)

Explanation:  

This question explains by the following example that is written in C language can be given as:

#include <stdio.h>    //header file.

int main()    //main function.

{

   int workedOvertime=10;                //define integer variable

   int true=10;                                        

   if(workedOvertime==true)                      //check condition.

   {

   printf("true..");                       //true part code.

   }

   else

   {

   printf("false..");                          //false part code.

   }

   return 0;

}

In the above example there we define a integer variable name(workedOvertime) in this variable we assign a value. And we define another variable true in that we also assign a value. then we use if-else statement that is used for checking the value. If block always execute true value.So the answer is true.and the Expression is (workedOvertime==true).

You might be interested in
create your own min function that finds the minimum element in a list and use it in a separate function
schepotkina [342]

Answer:

def minfunction(mylist):

   min = mylist[0]

   for i in mylist:

       if i < min:

           min = i

   print("The minimum is: "+str(min))

   

def anotherfunction():

   mylist = []

   n = int(input("Length of list: "))

   for i in range(n):

       listelement = int(input(": "))

       mylist.append(listelement)

   minfunction(mylist)

   

anotherfunction()

Explanation:

This solution is implemented in Python

This defines the min function

def minfunction(mylist):

This initializes the minimum element to the first index element

   min = mylist[0]

This iterates through the list

   for i in mylist:

This checks for the minimum

       if i < min:

... and assigns the minimum to variable min

           min = i

This prints the minimum element

   print("The minimum is: "+str(min))

   

This defines a separate function. This  separate function is used to input items into the list

def anotherfunction():

This defines an empty list

   mylist = []

This prompts user for length of list

   n = int(input("Length of list: "))

The following iteration inputs elements into the list

<em>    for i in range(n):</em>

<em>        listelement = int(input(": "))</em>

<em>        mylist.append(listelement)</em>

This calls the minimum function

   minfunction(mylist)

   

The main starts here and this calls the separate function

anotherfunction()

5 0
3 years ago
Help meeeeeeeeeeeeeee please​
bija089 [108]

Answer:

Explanation:My explanation is above my comment :)

3 0
4 years ago
Complete the following sentence.
Lelechka [254]
The correct answer is dap
4 0
4 years ago
Read 2 more answers
What is the best programing language I should learn for 3d gaming?
sp2606 [1]
You could learn C++ and use the Open GL library. Open GL is a library designed to make 2D and 3D applications. And use another library called <span>Simple and Fast Multimedia Library</span> to create the window itself.

There are multiple tutorials that teach C++ and OpenGL. There are other graphics libraries, but Open GL is the most popular.
7 0
3 years ago
To annotate a document with a remark for another reviewer to address, select the _____ feature.
Gala2k [10]
<span>To annotate a document with a remark for another reviewer to address, select the Comments feature. 

In both Excel and Word, you can go to the toolbar and select review and you will see "New Comment." Select the word (in Microsoft Word) or the cell (in Microsoft Excel) add click on the "New Comment". </span>
3 0
3 years ago
Other questions:
  • Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have alre
    8·2 answers
  • To create a default value for a parameter in the parameter list of a function, you code a/an ________________ sign after the par
    5·1 answer
  • Given that a method receives three parameters a, b, c, of type double, write some code, to be included as part of the method, th
    8·1 answer
  • As you apply to college when should you apply for financial aid
    9·1 answer
  • In C, developers may access arrays via bracketed syntax like Java or by using * dereferencing notation. The following assignment
    5·1 answer
  • which field in the contact form is used to control the order in which contacts are displayed in the current view
    15·1 answer
  • Usually written in block style with body text aligned along the left margin
    5·2 answers
  • Seeing her Daughter graduate from college is most likely a short term goal for a person of which of these ages ? A) 24 years old
    10·1 answer
  • Which Annotation tool provides the ability to convert the mouse icon when giving a presentation to better focus the
    14·1 answer
  • Who is responsible for maintaining, monitoring, and analyzing database security at the back end?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!