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
MArishka [77]
4 years ago
9

Jabari is writing a program which prompts a user for a value with a decimal. Which function should he use? float() int() print()

string()Jabari is writing a program which prompts a user for a value with a decimal. Which function should he use? float() int() print() string()
Computers and Technology
2 answers:
Goshia [24]4 years ago
5 0

Answer:

float()

Explanation:

I think you are talking about python and if you are then that is great. I always use python and here are the meanings of all of them

float() = incude dicimal

int() = round down or take away the digits less then 1

print() = show on the screen whatever you write inside

string() = turn a number into a word or sentance so it can be printed (for some reason python  can not print numbers, only words)

kotykmax [81]4 years ago
3 0

Answer:

I think it is float()

You might be interested in
How to work a computer cause i don't know how to
VladimirAG [237]

Answer:

power on, connect to internet, download games

6 0
3 years ago
Write a function that receives two numbers, m and n and calculates and displays the sum of the integers from m to n. For example
Evgesh-ka [11]

Answer:

The program to this question as follows:

Program:

//header file

#include <stdio.h> //defining header file

void inc(int m,int n) //defining method inc

{

   int sum, i; //declaring variable

   sum=m; //holding value of m variable

   for(i=++m;i<=n;i++) //loop for calculate number between given range  

   {

   sum=sum+i; //adding value

   }

   printf("sum of the integer is : %d",sum);//print value

}

int main() //defining method

{

   int m,n; //defining integer variable

   printf("Enter m value: "); //message

   scanf("%d",&m); //input value by user in variable

   printf("Enter n value: "); //message

   scanf("%d",&n);//input value by user in variable

   inc(m,n); //calling method

   return 0;

}

Output:

Enter m value: 3

Enter n value: 7

sum of the integer is :25

Explanation:

In the above code, an "inc" function is declared, that accepts integer parameters that are "m and n", inside the method two integer variable "sum and i" is declared, which is used in the loop.

  • The loop uses the user parameter to count value and uses the sum variable to calculate there sum.
  • In the main method, two integer variable n and m are declared, which take value from the user end, and at the last, we call the inc method, that prints sum value.
7 0
3 years ago
The area of a parallelogram is 18 square units.one side of the parallelogram is 24 units long.The other side is 6 unit long. whi
taurus [48]

Answer:

Height = \frac{3}{4}\ unit

Height = 3\ units

Explanation:

Given

Shape: Parallelogram

Area = 18 unit^2

Side\ 1 = 24  units

Side\ 2 = 6 units

Required

Determine possible heights of the parallelogram

Area of parallelogram is:

Area = Base * Height

Make Height the subject of formula

Height = \frac{Area}{Base}

When Base = 24 units;

Height = \frac{18}{24}

Height = \frac{3}{4}\ unit

When Base = 6 units;

Height = \frac{18}{6}

Height = 3\ units

8 0
3 years ago
Who initially developed what is now known as the internet?
Alinara [238K]

Answer: The correct answer is scientist Robert Kahn and Vint Cerf in a project funded by the US Department of Defense.

Explanation: The first workable prototype of the Internet was developed by Robert Kahn and Vint Cerf in the late 1960s with the development of ARPANET, or the Advanced Research Projects Agency Network. This project used packet switching to allow multiple computers to communicate on a single network and was originally funded by the US Department of Defense.

The technology continued to grow in the 1970s after scientists developed Transmission Control Protocol and Internet Protocol, or TCP/IP, which is a communications model that set standards for how data could be transmitted between multiple networks. This was followed in 1990 by the invention of the World Wide Web by Tim Berners-Lee. This is the most common way for people to access the information that is on the internet.

7 0
3 years ago
Read 2 more answers
Based on its location in the periodic table, we know that ALL BUT one property applies to the element radon. Which property does
blsea [12.9K]
Radon is not synthetic! It is produced naturally by the decay of uranium and radium. Radon is used in treating cancer - it is radioactive, nonreactive and a gas at room temperature.
6 0
4 years ago
Read 2 more answers
Other questions:
  • ________ enables advertisers to display more relevant ads based on user's search and browsing history. FIP NORA A Web bug An int
    10·1 answer
  • 11. John wants to share resources and move a large volume of data quickly over the Internet. John should use which of the follow
    14·1 answer
  • How do you delete a slide from your presentation after selecting it
    8·1 answer
  • Peter is software designer working at a big software company. He just found out that he has been shifted to their downtown branc
    10·1 answer
  • 16 to 19 year old drivers are how many more times likely to crash? 1.7,2.7,0.7 ,3.7
    12·2 answers
  • Enter a character: * ASCII #42 Enter a character: exit Not a character
    7·1 answer
  • What is the best scenerio for
    11·2 answers
  • in python Write a program that prompts the user to enter a hex character and displays its corresponding decimal integer python
    14·1 answer
  • How does a passive attack differ from an active attack?
    8·1 answer
  • Name and define (or list the set that defines) three of the four common data types in programming
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!