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
Komok [63]
2 years ago
9

Wtite a command to convert the points variable to any numerical data type (integer or float)

Computers and Technology
1 answer:
Paul [167]2 years ago
4 0

Answer:

Strings can be converted to numbers by using the int() and float() methods. If your string does not have decimal places, you'll most likely want to convert it to an integer by using the int() method.

Explanation:

You might be interested in
Question 12 (2 points)
Gelneren [198K]
1.) narrative = a THATS all I can answer rn sorryyyy
5 0
3 years ago
Read 2 more answers
Write two statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slash, and
Montano1993 [528]

Answer:

1/2000

Explanation:

import java.util.Scanner;

public class InputExample {

public static void main(String [] args) {

Scanner scnr = new Scanner(System.in);

System.out.print("Enter birth month and date:");//comment this line if not needed

int birthMonth=scnr.nextInt();

int birthYear=scnr.nextInt();

String output= birthMonth+"/"+birthYear+"\n";

System.out.println(output);

}

}

if using this code the out put should be 1/2000

5 0
2 years ago
What is the purpose of a destructor? (g) What is the purpose of an accessor?
Shkiper50 [21]

Answer:

Destructor:-To free the resources when lifetime of an object ends.

Accessor:-To access private properties of the class.

Explanation:

The purpose of a destructor is to free the resources of the object that it has acquired during it's lifetime. A destructor is called once in the lifetime of the object that is also when  the ifetime of the object ends.

The purpose of the accessors is to access private properties of the class.Accessor cannot change the value of the private members.They are also called getters.

7 0
2 years ago
Which of the following statements most accurately summarizes the creation of programming languages?
adelina 88 [10]

Answer:

Option 4: Different programming languages are better for different functions, and new programming languages are being written all the time.

Explanation:

All programing languages are best in their own perspective. Some are easy to handle while other have a smart but tricky context. Therefore different languages are suitable for different functions.

Functional Programming is the term depicting the modularity of code. In actual, it deals the data and functions as immutable. Which means the program state is never changed, the data you pass into the function is returned in a transformed form but actual data is not changed. Not all languages offer functional programming, the top languages which are better with such features are:

  1. Java Script
  2. Python
  3. C++

Moreover, new programming languages are being written for more and more convenience and ease. They are being introduced day-by-day because:

  • There is a need of new features.
  • Flaws in previous languages.
  • More functionality is needed in smaller time.
  • Code needs to be more and more smaller.

3 0
3 years ago
Since helium has an atomic number of 2 and an weight of 4, we know it must contain ____ nuetrons
BabaBlast [244]
The answer is : C. 2 Neutrons
7 0
3 years ago
Other questions:
  • The term composite would be used to describe an image that was altered by the Crop tool.
    15·1 answer
  • If you want to conserve ink or toner, you can instruct powerpoint to print ____ documents.
    6·1 answer
  • Complete the body of the decrement static method using only the NaturalNumberKernel methods (multiplyBy10, divideBy10, and isZer
    10·1 answer
  • Suppose users share a 1-Gbps link. Also, suppose each user requires 200 Mbps when transmitting, but each user only transmits 30
    5·1 answer
  • Select all the sets that are countably infinite. Question 3 options: the set of real numbers between 0.1 and 0.2 the set of all
    12·1 answer
  • Raul is a 13-year-old teenager interested in taking up photography as a new hobby. His dad wants to buy him a camera for his bir
    13·1 answer
  • Which field would best function as a primary key for a table that tracks orders?
    11·2 answers
  • During the ___ phase of a software development project, members broadly define the features that the software should include
    15·1 answer
  • Explain briefly how learning how to follow can make a person a good leader
    5·1 answer
  • What is the main coding language for netflix?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!