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

2. Input a decimal number and test if it is not equal to 16.5.

Computers and Technology
1 answer:
lubasha [3.4K]3 years ago
6 0

Answer:

2:

decNum = float(input("Decimal number: "))

if decNum != 16.5:

   print("Does not equal")

elif decNum == 16.5:

   print("Equal")

else:

   pass

3:

if x > 57:

   x += 4

   print(x)

4:

numOne = int(input("Enter number: "))

numTwo = int(input("Enter number: "))

if numOne < 100 and numTwo < 100:

   yes = numOne + numTwo

   print(yes // 2)

else:

   pass

Explanation:

Please give me brainliest.

You might be interested in
Which of the following best describes the protocols used on the Internet?
ASHA 777 [7]

Answer:

C: The protocols of the Internet are open and used by all devices connected to the network

Explanation:  Hope this helps.  

There are billions of devices connected to the Internet, and hundreds of different kinds of devices: laptops, tablets, phones, refrigerators, handheld credit card readers, and so on. Protocols (standards) ensure that the variety of devices interact with each other smoothly.  There are a lot of protocols! The Internet was designed with several layers of abstraction that sort the protocols according to what part of the process they support.

4 0
3 years ago
The __________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor
Elden [556K]

The unit which is capable of mimicking the processor and of taking over control of the system bus just like a processor is: C) direct memory access.

<h3>What is computer memory?</h3>

A computer memory can be defined as the available space on an electronic device that is typically used for the storage of data or any computer related information.

<h3>What is a CPU?</h3>

CPU is an abbreviation for central processing unit and it can be defined as the main components of a computer because it acts as the “brain” of a computer and does all the processing, calculations, and logical control.

In Computer technology, direct memory access simply refers to the unit which is capable of mimicking the computer's processor and taking over control of the system bus just like a processor.

Read more on processing unit here: brainly.com/question/5430107

#SPJ1

Complete Question:

The __________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor.

A) interrupt-driven I/O

B) I/O channel

C) direct memory access

D) programmed I/O

5 0
2 years ago
In object-oriented programming, what is a constructor?
hjlf

A constructor in object-oriented programming is a special method of a class or structure that initializes an object of that type. Basically, it resembles an instance method that usually has the same name as the class. In simple terms, it is a subroutine called to create an object.






3 0
4 years ago
What term refers to the text label that describes each data series?
lbvjy [14]
Field is the term that refers to the text label that describes each data series
7 0
3 years ago
Write a program that creates an ArrayList and adds a Loan object, a Date object, a string, and a Circle object to the list, and
12345 [234]

Answer:

//importing package java.util.ArrayList to use ArrayList in the program

import java.util.ArrayList;

import java.util.Date;

public class test_array_list {

// Main method

public static void main(String[] args) {

 // Create an array list of objects

 ArrayList<Object> s = new ArrayList<Object>();

 s.add(new Loan());  

 s.add(new Date());  

 s.add(new String("String class"));

 s.add(new Circle());

 // Display all the elements in the list by

 // invoking the object’s to String() method

 for (int element = 0; element < o.size(); element++) {

  System.out.println((s.get(element)).toString());

 }

}

}

Explanation:

The Above code has proper comments to which is self explanatory.

6 0
4 years ago
Other questions:
  • "This command will give you a listing of your basic IP information for the computer you are using"
    6·1 answer
  • IF YOU GET THIS RIGHT U GET BRAINLIEST
    14·2 answers
  • Develop a program that implements the POLYNOMIAL ADT using the LIST ADT. The POLYNOMIAL ADT is used to represent polynomials and
    8·1 answer
  • What is an appropriate action when an email thread becomes long?
    6·1 answer
  • Accessing disk is much slower than accessing memory. As a result, many file systems have been designed with various optimization
    7·1 answer
  • How has the dependence on technology made humanity less intelligent?​
    15·1 answer
  • Vocational counselors group career and occupation specialties into <br> career clusters.
    12·1 answer
  • Identify a possible IOT (internet of Things) device in a smart kitchen and write a use case for interacting with the software of
    12·1 answer
  • THE DIFFERENCE BETWEEN COPY AND PASTE AND CUT AND PASTE IS: *
    5·2 answers
  • Which instructions are used to change the sequence of instruction execution? group of answer choices data movement operate contr
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!