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
Hatshy [7]
3 years ago
6

When do programmers use If conditional statements? when they want a certain event to occur when a condition is met when they wan

t to restrict an action from occurring when a condition is met when they want a certain event to occur when a condition is not met when they want to end a program
Computers and Technology
2 answers:
lyudmila [28]3 years ago
5 0

Answer:

when they want a certain event to occur when a condition is met

Explanation:

statuscvo [17]3 years ago
5 0

Answer:

when they want a certain event to occur when a condition is met

Explanation:

i got it right on edgenuity !

You might be interested in
To StaySafe while working near powerlines, you should______ to determine the safe working distance.
irina1246 [14]
Verify the lines voltage i believe is the right answer
8 0
3 years ago
By default, the pfsense firewall allows unrestricted outbound access from the lan interface. true or false?
Sav [38]

The statement "By default, the pfSense firewall allows unrestricted outbound access from the lan interface" is true.

pfSense is free and open source firewall and router that can be installed on a physical computer or a virtual machine. Teh goal is to make the machine a dedicated firewall/router for a network.

 It features unified threat management, load balancing, multi WAN etc.


8 0
4 years ago
Read 2 more answers
Disadvatage of using a computer when you don't have knowledge about it​
shtirl [24]

If you mean you have no knowledge of the subject you're supposed to be researching, than that's the disadvantage, because you will have many,many different pages for what the search engines can relate what you're searching on to what it hints will help.

Disadvantages of using a computer when you don't know how to use a computer.

You don't know how to use a computer.

7 0
4 years ago
Can you debug the following code using the given test code?public class SavingAccount{ // interest rate for all accounts private
Lyrx [107]

Answer:

Explanation:

The reason the code was not working was due to a couple of errors. First, the SavingAccount class needed to be public so that it can be accessed within the same file. Secondly, the savingsBalance variable was set to final and therefore could not be modified, the final keyword needed to be removed. Lastly, the constructor for the SavingAccount class was incorrect. Constructors do not use the keyword void and instance class variables need to be referenced using the this keyword.

class SavingAccount{

   // interest rate for all accounts

    private static double annualInterestRate = 0;

    private double savingsBalance;

   public SavingAccount(double savingsBalance) {

       this.savingsBalance = savingsBalance;

   }

   public void calculateMonthlyInterest() {

        savingsBalance += savingsBalance * ( annualInterestRate / 12.0 );

    }// end method calculateMonthlyInterest

   // modify interest rate

   public static void modifyInterestRate( double newRate ) {

        annualInterestRate = ( newRate >= 0 && newRate <= 1.0 ) ? newRate : 0.04;

    } // end method modifyInterestRate

   // get string representation of SavingAccount

   public String toString() { return String.format( "$%.2f", savingsBalance );

    } // end method toSavingAccountString

}// end class SavingAccount

// Using this test codepublic

//

class SavingAccountTest{

   public static void main(String[] args) {

       SavingAccount s1 = new SavingAccount(400);

       SavingAccount s2 = new SavingAccount(1000);

       SavingAccount.modifyInterestRate(0.05);

       System.out.printf("SavingAccount 1 is: %s\nSavingAccount 2 is: %s", s1, s2);

       s1.calculateMonthlyInterest(); s2.calculateMonthlyInterest();

       System.out.printf("\nSavingAccount 1 after the interest is: %s\nSavingAccount 2 after the interest is: %s", s1, s2);

       SavingAccount.modifyInterestRate(.025);

       s1.calculateMonthlyInterest();

       s2.calculateMonthlyInterest();

       System.out.printf("\nSavingAccount 1 after the new interest is: %s\nSavingAccount 2 after the new interest is: %s", s1, s2); }}

6 0
3 years ago
Game Design Help please
valina [46]
This game on cool math
4 0
4 years ago
Other questions:
  • We may think of relationships in the E/R model as having keys, just as entity sets do. Let R be a relationship among the entity
    14·1 answer
  • Which field data type would you use if you'd like to store videos in that field a text b memo c Boolean D binary object E null
    11·2 answers
  • An argument is different from a parameter in that an argument
    11·2 answers
  • What is logical memory?
    15·1 answer
  • Nonverbal messages from the movie it​
    5·2 answers
  • Write a JAVA program containing a method called hasEight(), which takes an int as input and returns true if the number contains
    14·1 answer
  • Are the blank space around the edges of the page
    5·1 answer
  • What is computer system<br>explain the role of bank in computer<br>​
    15·2 answers
  • . In the select algorithm that finds the median we divide the input elements into groups of 5. Will the algorithm work in linear
    6·1 answer
  • Which method can be used for making a robot perform a different set of functions?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!