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

Write a program in Python to sum to numbers: Urgently needed, please.

Computers and Technology
1 answer:
Andrews [41]3 years ago
5 0

num1 = float(input("Enter the first number: "))

num2 = float(input("Enter the second number: "))

print("{} + {} = {}".format(num1,num2,num1+num2))

Variables num1 and num2 prompt the user for a number. The print function then displays the answer and equation.

You might be interested in
Send the memes whoever is the best will get that crown thing lol
shutvik [7]
I have to type 20 characters here so...

4 0
4 years ago
Read 2 more answers
Given a int variable named calls Received and another int variable named operators On Call write the necessary code to read valu
joja [24]

Answer:

import java.util.Scanner;

public class CocaColaVendingTest {

   public static void main(String[] args) {

       Scanner input = new Scanner(System.in);

       System.out.println("Enter the total number of calls received");

       int callsReceived = input.nextInt();

       System.out.println("Enter the total number of operators");

       int operatorsOnCall = input.nextInt();

               int callsPerOperator = callsReceived/operatorsOnCall;

       System.out.println("The number of calls per operator is "+callsPerOperator);

   }

}

Explanation:

A complete Java code is given above. The user is prompted to enter the values for the number of calls received and the number of operators. These are stored in the respective variables.

Using an Integer division, the number of calls per operator is obtained by: callsPerOperator = callsReceived/operatorsOnCall;

4 0
3 years ago
In the following statement:
inna [77]

Answer: A. Car

Explanation:

Here  the base class member is being protected which is Vehicle. The base class is the Vehicle class and the derived class is Car class.

As the derived class is created or derived from another existing class. So here the class Car has been created through the process of inheritance from the base class which is vehicle. All the methods and variables in Vehicle class are in protected so the only the derived class is able to get access to those variables and methods.

class Car : protected Vehicle

The class Vehicle has been defined earlier and the class Car is created.

The left side is for derived and right side is for base class.

5 0
4 years ago
Alan wants to find an image of a car he can use in a presentation. What button should he click in the Images group to run a sear
maksim [4K]

Alan should click on the Clip Art section and then run a search by entering the keyword in the search menu.

A. Clip Art

<u>Explanation:</u>

Alan wants to find an image of a car that he can use in his presentation. It is always a good practice to include pictures and other media like videos, GIFs, and sound effects to make a presentation more engaging and interesting.

In order to include an image, Alan should click on the Clip Art section and then run a search by entering the keyword in the search menu. The clip art allows the user access to the saved images and to the internet for searching the required image.

3 0
4 years ago
What is the full form of ARPANet, WAN,FTP,DCP,HTML,ISP and last WWW​
Lapatulllka [165]

Advanced Research Projects Agency Network,

wide area network

File Transfer Protocol

?

Hypertext Markup Language

Internet service provider

world wide web

6 0
3 years ago
Read 2 more answers
Other questions:
  • What is the most common programming language that's not python?
    15·2 answers
  • Assume that a program consists of integer and floating-point instructions. 60% of the total execution time is spent on floating
    7·1 answer
  • A restaurant has a case type that allows customer to book the dining room for events. Customers provide basic information includ
    7·1 answer
  • Explicit knowledge can be documented and codified, whereas tacit knowledge encompasses insights, judgment, creative processes, a
    9·1 answer
  • In the transactional process model of communication, the meaning of a message resides with the ___________.
    6·1 answer
  • Which two statements are true about the Data Sync functionality? (Choose two.)
    15·1 answer
  • Why do we need IP Addresses in order for the Internet to function properly?
    7·1 answer
  • What type of photography is represented by a photograph of a dog on a beach ?
    11·1 answer
  • Can someone suggest how to manage a group when you are the group leader?​
    10·2 answers
  • Where is the fill handle located
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!