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

Write a partial class that shows a class constant and an instance method. Write an instance method that converts feet to inches

using a class constant representing the number of inches in one foot. The value passed to the method represents the distance in feet.
Computers and Technology
1 answer:
MA_775_DIABLO [31]2 years ago
4 0

Answer:

Please the code snippet below, the code was writen in Kotlin Language

Explanation:

const val inches:Int= 12 .   //This is the const value

fun main(args: Array<String>) {

 //this will ask the user for input

   print("Enter a number")            

  //this will do the conversion

var valueInFeet= Integer.valueOf(readLine())*inches

   print("The value in feet is $valueInFeet feet(s)")  

   }

You might be interested in
What is the best file manager for windows 10?
SOVA2 [1]

In my opinion, XYplorer is the best

7 0
2 years ago
Read 2 more answers
Someone please help me fill this out! Ill give u brainlest
Verizon [17]
<span>¿De qué manera participar en actividades extracurriculares?
¿Cómo ayudar a sobresalir en la solicitud de la universidad?
R: aprendes habilidades diferentes a las clases habituales, como lograr obtener una gran habilidad en la oratoria o ya sea aprendiendo mas sobre la literatura y aprender a componer poemas
<span><span>Si pudieras crear tu propio club u organización, ¿qué tipo de club u organización sería?
R : un club de robotica seria lo mas apropiado ya que aprenderemos a programar y llegar a comprender la mecanica de las aplicaciones que usamos a diario y al aprender a crear robots propios aprenderemos nuevas habilidades y aprender a confiar en nuestro propio criterio para que funcionen las cosas </span><span>¿Qué tipo de habilidades se requieren para estar en el club u organización?
R: debe tenerse un conocimiento muy basico en los lenguajes de programasion ya sea con solo entender la logica </span></span>
<span><span>¿Crees que una actividad extracurricular puede ser beneficiosa para obtener la carrera de tus sueños?
R: si, siempre y cuando la actividad extracurricular este relacionada con lo que deseamos ser en un futuro 
</span><span>¿Explica por qué o por qué no?
R: al tratarse de algo relacionado a la carrera que deseamos tendremos ya un conocimiento de lo que deberemos aprender y asi lograremos adaptarnos mas facilmente

</span></span></span>
3 0
3 years ago
What does the process of email encryption involve??
stealth61 [152]

Answer: Option C

Explanation:

4 0
2 years ago
What is the meaning of google?
UkoKoshka [18]
According to the Google guys, the company's name comes from the word 'googol' which is actually a number invented by Milton Sirotta. Probably the Google name is related to the number of the results provided by the search technology which is usually huge.

"The name 'Google' is a play on the word 'googol,' coined by Milton Sirotta, nephew of American mathematician Edward Kasner. A 'googol' refers to the number represented by a 1 followed by 100 zeros. It's a very large number. In fact, there isn't a googol of anything in the universe

5 0
3 years ago
Read 2 more answers
Briefly explain the following terms.
Gelneren [198K]

Answer:

  • High Level Programming Language

A high-level language is a programming language designed to simplify computer programming. High-level source code contains easy-to-read syntax that is later converted into a low-level language, which can be recognized and run by a specific CPU.

  • Pointers

A pointer is a variable that stores the address of another variable. Unlike other variables that hold values of a certain type, pointer holds the address of a variable. For example, an integer variable holds (or you can say stores) an integer value, however an integer pointer holds the address of a integer variable.

  • Functions

a function relates inputs to outputs. a function takes elements from a set (the domain) and relates them to elements in a set

  • Compilers

Compiler, Computer software that translates (compiles) source code written in a high-level language (e.g., C++) into a set of machine-language instructions that can be understood by a digital computer's CPU.

  • Logic errors

A logic error (or logical error) is a mistake in a program's source code that results in incorrect or unexpected behavior.

  • loop

In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.

5 0
3 years ago
Other questions:
  • Question 1 of 20 :
    15·2 answers
  • Common icons found on the Windows desktop are _____.
    6·2 answers
  • Why can't cruise control work under 25 mph?
    9·1 answer
  • To run a PHP application that has been deployed on your own computer you can enter a URL in the address bar of your browser that
    7·1 answer
  • How do you change a account on an iPod generation 5
    10·1 answer
  • Devon would like to install a new hard drive on his computer. Because he does not have a SATA port available on his motherboard,
    7·1 answer
  • Public classes are accessible by all objects, which means that public classes can be ____, or used as a basis for any other clas
    10·2 answers
  • 23+ Composition refers to
    11·1 answer
  • Select the best answer to the following question.
    5·1 answer
  • One rule in the Java programming language is that you have to place a semicolon at the end of each statement. What is this rule
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!