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
Margarita [4]
4 years ago
5

The following statement should determine if count is within the range of 0 through

Computers and Technology
1 answer:
antoniya [11.8K]4 years ago
7 0

Replace the OR operator with an AND operator.


Aka

Replace || with &&

You might be interested in
What order? (function templates) Define a generic function called CheckOrder() that checks if four items are in ascending, neith
vlabodo [156]

Answer:

Explanation:

The following code was written in Java and creates the generic class to allow you to compare any type of data structure. Three different test cases were used using both integers and strings. The first is an ascending list of integers, the second is a descending list of integers, and the third is an unordered list of strings. The output can be seen in the attached image below.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Order: " + checkOrder(10, 22, 51, 53));

       System.out.println("Order: " + checkOrder(55, 44, 33, 22));

       System.out.println("Order: " + checkOrder("John", " Gabriel", "Daniela", "Zendaya"));

   }

   public static <E extends Comparable<E>> int checkOrder(E var1, E var2, E var3, E var4) {

       E prevVar = var1;

       if (var2.compareTo(prevVar) > 0) {

           prevVar = var2;

       } else {

           if (var3.compareTo(prevVar) < 0) {

               prevVar = var3;

           } else {

               return 0;

           }

           if (var4.compareTo(prevVar) < 0) {

               return 1;

           }  else {

               return 0;

           }

       }

       if (var3.compareTo(prevVar) > 0) {

           prevVar = var3;

       }

       if (var4.compareTo(prevVar) > 0) {

           return -1;

       }

       return 0;

   }

}

8 0
3 years ago
8.9 Code Practice
jolli1 [7]

Answer: Here you go, change it however you like :)

Explanation:

v = [24, 20, 29, 32, 34, 29, 49, 46, 39, 23, 42, 24, 38]

usr = int(input("Enter number: "))

print(f"Index: {v.index(usr)}") if usr in v else print(-1)

5 0
3 years ago
Read 2 more answers
Big Chungus is god. prove me wrong.
lisabon 2012 [21]

Answer:

who is Big chungus???

Believe in Lord Buddha !

6 0
3 years ago
A block style business letter is:
julia-pushkina [17]

the answer is A typewritten form of communication with all parts aligned to the left margin

3 0
4 years ago
While (e &lt; 10):<br> print (c)
Ymorist [56]

Answer:

Huh? can you ask a real question so I can answer?

Explanation:

7 0
3 years ago
Other questions:
  • A switch operates in the OSI reference model __________ layer and uses the __________ address to forward packets.
    8·1 answer
  • Being aware of and understanding why potential buyers on a web site do not complete their purchases requires the expertise of __
    11·2 answers
  • In the legend of sleeping Hallow what does Ichabod Crane fear the most
    13·2 answers
  • What is a set of illustrations displayed in a specific sequence to pre-visualize what your mobile app looks like and how it work
    5·1 answer
  • Jeremy is working with a team that is creating an application using attributes and associated methods. What type of programming
    8·1 answer
  • Which data type is 2.5?
    5·1 answer
  • Nick is moving from Alabama to Texas. A friend of his remarked that Nick may have to pay higher taxes there. What is the cheapes
    7·1 answer
  • HELPPP
    5·1 answer
  • What type of program would you use to create a personal budget?
    15·1 answer
  • Internet transportation exchanges brings together shippers who post __________ and carriers that post __________ in order to arr
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!