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
devlian [24]
3 years ago
9

The following code will not compile. Which of the options below would allow the code to compile and run as intended?

Computers and Technology
1 answer:
bixtya [17]3 years ago
6 0

Answer:

Follows are the code to this question:

x=int(input())#use input method with int that takes integer value from user-end  

if (x >= -10 and x<=10):#defining if block that checks x in between -10 to 10

   print("In range")#print message

Output:

6

In range

Explanation:

In this code, the choices were missing that's why the solution to this question can be defined as follows:

In this, x variable using the input method with the int, which takes integer value from the user-end. In the next step, the if block is used, that checks x value lies on between the -10 to 10, to check this condition it used the and logical operator, that run the code when both conditions are true, and at last, it prints the message "In range".

You might be interested in
Part1) Given 3 integers, output their average and their product, using integer arithmetic.
Mrac [35]

Answer:

The program is as follows:

#include <iostream>

#include <iomanip>

using namespace std;

int main(){

   int num1, num2, num3;

   cin>>num1>>num2>>num3;

   cout << fixed << setprecision(2);

   cout<<(num1 + num2 + num3)/3<<" ";

   cout<<num1 * num2 * num3<<" ";

   return 0;

}

Explanation:

This declares three integer variables

   int num1, num2, num3;

This gets input for the three integers

   cin>>num1>>num2>>num3;

This is used to set the precision to 2

   cout << fixed << setprecision(2);

This prints the average

   cout<<(num1 + num2 + num3)/3<<" ";

This prints the product

   cout<<num1 * num2 * num3<<" ";

6 0
4 years ago
A technician is testing a connector in a circuit with a voltmeter. With the power on in the circuit, the meter reads 12 volts wh
Gnesinka [82]

Since the technician is testing a connector in a circuit with a voltmeter and the others, one can say that this indicates that the connector is open.

<h3>What does an open connection implies?</h3>

Connecting to an open network is one that connote that one can opens their device to others using or on that same wireless network.

Note that Since the technician is testing a connector in a circuit with a voltmeter and the others, one can say that this indicates that the connector is open.

Learn more about open connection from

brainly.com/question/5338580

#SPJ1

7 0
2 years ago
Which original VPN protocol is supported by most platforms but offers low levels of security?
Masja [62]

Answer:

vpn

Explanation:

PPTP is the least secure. ...

L2TP/IPsec is a good VPN solution for non-critical use; however, this protocol, like PPTP, has been compromised as well. ...

Across many areas of the IT world, OpenVPN is easily the best all-around VPN solution.

7 0
2 years ago
PLEASE HELP ASAP ILL GIVE YOU 5 STARS AND BRAINLEST
alexdok [17]

Answer:

growth mindset means that you believe your intelligence and talents can be developed over time. A fixed mindset means that you believe intelligence is fixed—so if you're not good at something, you might believe you'll never be good at it.

7 0
3 years ago
Read 2 more answers
The First Web page you will see every time you launch the Web Browser Application is called​
sineoko [7]

Answer:

HomePage

Explanation:

3 0
3 years ago
Other questions:
  • - The __________ is called a single-selection statement.
    10·1 answer
  • I need help making this table in html code I have some of chart done but idk where to go after the 6:30pm part
    13·1 answer
  • Cheryl has several concepts for mobile apps for smartphones. A friend suggests that she develop her apps for an open-source oper
    13·1 answer
  • Aaron has elaborate systems set up on his computer to remind him of all the things he has to do and when he has to do them. The
    12·1 answer
  • Which of the following is something you need to keep an eye out for
    7·2 answers
  • Write a program that requests the user input a word, then prints every other letter of the word starting with the first letter.
    5·1 answer
  • 7.3.4: Find the Error
    7·1 answer
  • 3. Coaxial/telephone cable sends<br> during the data transmission<br> signal
    9·1 answer
  • Can u guys report me as much as u can I’m trying to delete this account
    7·1 answer
  • The simple mixture of flour and water​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!