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
nikdorinn [45]
3 years ago
5

Using a conditional expression, write a statement that increments numUsers if updateDirection is 1, otherwise decrements numUser

s. Ex: if numUsers is 8 and updateDirection is 1, numUsers becomes 9; if updateDirection is 0, numUsers becomes 7.
Mathematics
1 answer:
bija089 [108]3 years ago
4 0

if(updateDirection==1){

numUser ++;

else

numUser--;

}

if (numUser==8 && updateDirection==1){

numUser= 9;

}

if(updateDirection==0){

userUser=7;

}

You might be interested in
You can paint 75 square feet of a surface every 45 minutes. Determine how long it takes you to paint a wall with the given dimen
Allisa [31]

Answer:

25.2 min

Step-by-step explanation:

3 0
3 years ago
Is 3.021 greater than 3.201
Vikki [24]
No it is not have a nice day/night
3 0
3 years ago
Write an expression if the discount is 15% off and there is a 7% sales tax. Original: $75
Crazy boy [7]
I needed help with this too
4 0
3 years ago
3 chairs and 5 tables cost Rs 7540 .if the price of a chair is Rs 220 , find the price of a table .
Kay [80]

Answer:

Given - 3 chairs + 5 tables = 7540 rs

TO find - Price of table

Solution -

Price of chair is Rs 220 ( given)

1 chair = 220

3 chairs = ?

3 × 220

660 Rs

660 rs + 5 tables = 7540 rs

5 tables = 7540 - 660

5 tables = 6880

1 table = 6880/5

= 1376 rs

Price of 5 Table is 6880 and 1 table = 1376 rs

5 0
3 years ago
Read 2 more answers
Which ordered pairs in the form (x, y) are solutions to the equation
yaroslaw [1]
((-5)+3)(-7) = 14
(-2)(-7) = 14
14 = 14
True
A is a solution.


((-1)+3)(7) = 14
(2)(7) = 14
14 = 14
True
B is a solution.

((10)+3)(-2) = 14
(13)(-2) = 14
-26 = 14
False
C is not a solution.

((11)+3)(1) = 14
(14)(1) = 14
14 = 14
True
D is a solution.
6 0
3 years ago
Other questions:
  • Travis wants to borrow money to start a racquetball club at his school. He convinced the athletic department to loan him $2,500
    12·2 answers
  • Approximate each square root to the nearest tenth<br><br> 130<br><br> 85
    12·2 answers
  • Graph a right triangle with the two points 4,5 and -4,8​
    9·1 answer
  • 0.00726 g is the same as 0.726 mg. <br> a. True<br> b. False
    12·1 answer
  • Help i have attached a file
    9·2 answers
  • Eight less than 1/3 a number n is -13
    8·1 answer
  • You have a set of 21 songs. How many different groups of 17 could you make?
    15·2 answers
  • How many different committees can be formed from 9 teachers and 30 students if the committee consists of 4 teachers and 2 ​stude
    13·1 answer
  • the drama club spent $8.50 per person on food for cast party. the total cost of the food was $229.50. how many people were at th
    9·2 answers
  • HELP ME PLEASE . IF YOURE GOOD GEOMETRY HELP
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!