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
Gwar [14]
3 years ago
5

Write an if else statement that assigns 0 to the variable b and assigns 1 to the variable c if the variable a is less than 10. O

therwise, it should assign -99 to the variable b and assign 0 to the variable c.
Computers and Technology
1 answer:
brilliants [131]3 years ago
4 0

Answer:

if(a < 10)

{ b = 0; c = 1;}

else

{ b = -99; c = 0;}

Explanation:

You might be interested in
Why does dns use udp instead of tcp? if a dns packet is lost, there is no automatic recovery. what are the consequences?
inysia [295]
<span>If a DNS packet using UDP is lost this problem must be handled at the application layer. If an answer is not received after some period of time the specific application may choose to resend the DNS query. I can go much more into detail but this should answer your question. If you need more detail just ask.</span>
6 0
3 years ago
Can anyone answer this​
xxMikexx [17]

Answer:

I can't answer sorry

Explanation:

7 0
3 years ago
What are the five parts of computer hardware that can be found in most computer systems?
pashok25 [27]

Answer:

processor, primary storage, secondary storage, input devices and output devices

Explanation:

processor, primary storage, secondary storage, input devices and output devices are the five parts of computer hardware that can be found in most computer systems

8 0
3 years ago
Modify songVerse to play "The Name Game" (OxfordDictionaries), by replacing "(Name)" with userName but without the first letter.
xenn [34]

Answer:

The Java code for the problem is given below.

Your solution goes here is replaced/modified by the statement in bold font below

Explanation:

import java.util.Scanner;

public class NameSong {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       String userName;

       String songVerse;

       userName = scnr.nextLine();

       userName = userName.substring(1);

       songVerse = scnr.nextLine();

      songVerse = songVerse.replace("(Name)", userName);

       System.out.println(songVerse);

   }

}

3 0
4 years ago
Software that interprets commands from the keyboard and mouse is also known as the
Volgvan
Software that interprets commands from the keyboard and mouse is also known as the B OPERATING SYSTEM.
4 0
3 years ago
Other questions:
  • Which step needs to be done before changing the font type, size, and color of a particular set of text
    7·1 answer
  • A(n) _____ can be used to reveal a competitor’s program code, which can then be used to develop a new program that either duplic
    9·1 answer
  • Fill in the function shopSmart(orders,shops) in shopSmart.py, which takes an orderList (like the kind passed in to FruitShop.get
    6·1 answer
  • Write the java statement to creat an object mp4 class digital​
    8·1 answer
  • The 'parseInt' method of the 'Integer' class throws a 'NumberFormatException' when it is passed a String argument that it cannot
    11·1 answer
  • Paul listed the websites he searched to find information on a career in biology ​
    15·1 answer
  • How would I add a play again function to this code in python?
    9·1 answer
  • Tamera was responding to a complaint that one of the employees is having problems with the wired network connection on their lap
    8·1 answer
  • How does the internet works
    14·1 answer
  • I need help ASAP which option is an example of a resource that would most likely become a constraint in building a game
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!