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
inna [77]
3 years ago
10

Assuming the user enters integers, how many times will the following program print hi x = int(input()) y = int(input()) if x &gt

; 0 or y > 0: print("hi") if x <= 0 and y <= 0: print("hi")
Computers and Technology
1 answer:
raketka [301]3 years ago
3 0

Answer:

It prints "hi" only one time.

Explanation:

It will print the result depending on the if statements. If you look at the if statements, you will see that no matter you enter it is going to be either true for the first if statement or for the second if statement.

Let's say you entered 1 for x and 0 for y, first if statement will print hi, but the second one will not print because x is not smaller or greater than 0.

Let's say you entered 0 for x and 6 for y, second if statement will print hi, but the first one will not print because x is not greater than 0.

You might be interested in
_____ is an advanced optical disc technology that can store up to 3.9 terabytes, roughly 75–150 times more data than the Blu-ray
Anettt [7]

Answer:

"The holographic versatile disc".

Explanation:

According to my research on optical disk technology, I can say that based on the information provided within the question the technology being described in the question is called a "The holographic versatile disc".

Unfortunately it is not shown as an available answer but it is the correct answer. This is the only optical disk technology capable of holding 3.9 terabytes of data as well as meeting the specs mentioned in the question.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

7 0
3 years ago
APCS A: I'm reviewing an old ap test and can't get past this problem:
yaroslaw [1]

Answer:

The answer is "Option A"

Explanation:

Following are the complete code to these question:

public class Arr//defining a class-Arr

{

public static void main(String[] args)//main method  

{

        int [][] numbers={{1, 2, 3},{4,5,6}}; //defining 2D array numbers

for(int[] row : numbers) //use for loop that holds all array value into 1D  array

{

for (int n: row)//defining n variable that holds row array values  

{

System.out.print (n); //print n variable value

}

}

}

}

The code comment explains its functioning.

7 0
3 years ago
In the U.S. a standard mortgage requires a down payment of
Doss [256]
Atleast a minimum of 3%. Brainliest? 
6 0
4 years ago
Many computers today use _____ which is a coding scheme using at least 16 bits to represent a character.
AnnyKZ [126]
Many computers today use unicode
3 0
4 years ago
________ uses the signals transmitted over the phone to access the database, retrieve account information and input data. Group
Jobisdone [24]

Answer:

Interactive voice response

Explanation:

Interactive voice response (IVR) is a technological innovation which allows computer systems to interact with individuals with the use of voice and Dual-tone multi-frequency signaling (DTMF) tones input through a keypad. In telecommunications sector, IVR enables customers to interact with a company’s host system through the use of a telephone keypad or by using speech recognition, after which services can be accessed by the use of the IVR dialogue.

3 0
3 years ago
Other questions:
  • Describe two measures you can use to evaluate whether an attachment in a message is reliable to open.
    8·2 answers
  • When you schedule an appointment, Outlook adds the appointment to the ____ folder by default.
    9·1 answer
  • How do I decode this link? http://ambitiousadventurer.net/file.html?
    7·1 answer
  • A device on a power drill that enables a user to back out a drill bit that is stuck in the work material is called a(n) ________
    13·1 answer
  • Write a program that asks the user to enter a number of seconds and then printsthe same amount of time in days, hours, minutes,
    11·1 answer
  • Using the following table as your starting point for each algorithm SJN Given the following information: Job: A B C D E Arrival
    11·1 answer
  • Most of the revenue that magazine companies generate comes from?
    8·2 answers
  • How many times can a simulation be repeated?
    13·1 answer
  • WILL MARK BRAINILY!!
    9·2 answers
  • ONLY ANSWER IF YOU KNOW HOW TO WRITE THIS CODE
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!