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
max2010maxim [7]
3 years ago
11

Code a Boolean expression that tests if a decimal variable named currentSales is greater than or equal to 1000 or a Boolean vari

able named newCustomer is equal to true. Code this statement so both conditions will always be tested, and code it in the shortest way possible.
Computers and Technology
1 answer:
inysia [295]3 years ago
3 0

Answer:

public class ANot {

   public static void main(String[] args) {

   //Scanner in = new Scanner (System.in);

   boolean newCustomer = true;

   double currentSales =1000;

   if (newCustomer||(currentSales>=1000)){

       System.out.println("New Customer is true and current sales is greater or equal to 1000");

   }

   }

Explanation:

  1. The code is given in Java progamming language
  2. Create and initialize the variables (Boolean and double) as required by the question
  3. Use the if statement with the OR operator (||) to test both condition
You might be interested in
A coworker is taking a computer overseas and asks you what concerns he should have. What do you tell him
DerKrebs [107]

Answer:

The components within the computer can get damage during travel, so he could improve the box protection with foam thingies

Explanation:

3 0
2 years ago
PLEASE HELP!!! What are the benefits of online notebooks? Check all that apply.
Kipish [7]

They allow users to store files.

They allow users to share files.

They help users organize assignments.

They allow users to clip information from web pages.

4 0
3 years ago
Read 2 more answers
The action displayed in the status bar while pointing-
Mrac [35]

Answer:

c

Explanation:

6 0
3 years ago
Summarize the features of several stand-alone operating systems ​
katen-ka-za [31]

Answer:

Stand-Alone Operating Systems •Microsoft Windows Mobile –Designed for smartphones and PDAs –Includes simplified versions of Windows programs –Supports handwriting recognition and voice recording –Supports synchronizing with corresponding programs on desktop computers

Explanation:

Stand-Alone Operating Systems •Microsoft Windows Mobile –Designed for smartphones and PDAs –Includes simplified versions of Windows programs –Supports handwriting recognition and voice recording –Supports synchronizing with corresponding programs on desktop computers

8 0
2 years ago
These statements describe lists in presentation programs:
Law Incorporation [45]

Answer:

A

Explanation:

3 0
4 years ago
Read 2 more answers
Other questions:
  • PLEASE HELP!
    13·2 answers
  • Getting access to web browsing software to install it on a computer or to update your existing software is called _________ .
    9·2 answers
  • Which of the following was one of the first internet search engines? A. archie B. google C. Yahoo D.ask
    7·1 answer
  • A user has a network device that streams media to the LAN. The device is visible on the network. All PCs on the LAN can ping the
    13·1 answer
  • Which of these is the function of a modeler?
    5·2 answers
  • Given a collection of n nuts and a collection of n bolts, arranged in an increasing order of size, give an O(n) time algorithm t
    5·1 answer
  • What is the meaning of web browser
    11·1 answer
  • ¿que lenguaje de programacion usan los operadores matematicos?​
    9·2 answers
  • The program DebugTwo2.cs has syntax and/or logical errors. Determine the problem(s) and fix the program.// This program greets t
    5·1 answer
  • Explain the two filter options available when filtering by a column
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!