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
posledela
4 years ago
13

How to get the absolute value in coding begginners?

Computers and Technology
2 answers:
Darina [25.2K]3 years ago
5 0

abs() will give you the absolute value of an integer.

Bezzdna [24]4 years ago
4 0

Answer:

not sure but i took this l;ast year

Explanation:

You might be interested in
Correct or False, when formatting conditional data, I start by selecting the range of data that I want to format
Arturiano [62]

Answer:

Correct

Explanation:

4 0
3 years ago
True or False? The filtering phase of object-oriented problem solving determines which of the possible classes generated during
tangare [24]

Answer:

The answer is "True".

Explanation:

  • The object-oriented problem-solving, filtering process determines, that only one of the potential classes.It generates through brainstorming was the core class in the solution.
  • In the major issue-solving step, were searching for items important to Sorting. Once we discuss with categories we select. Next, do anything to copies.
5 0
3 years ago
Write a C++ program that prompt the user to enter three points (x1, y1), (x2, y2), (x3,y3) of a triangle and displays its area.
maxonik [38]

Answer:

Here is the code in c++.

//include headers

#include <bits/stdc++.h>

using namespace std;

//main function

int main() {

//variables to store coordinates

float x1,x2,y1,y2,x3,y3;

cout<<"Please Enter the coordinate of first point (x1,y1): ";

// reading coordinate of first point

cin>>x1>>y1;

cout<<"Please Enter the coordinate of second point (x2,y2): ";

// reading coordinate of second point

cin>>x2>>y2;

cout<<"Please Enter the coordinate of third point (x3,y3): ";

// reading coordinate of third point

cin>>x3>>y3;

//calculating area of the triangle

float area=abs((x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2))/2);

cout<<"area of the triangle:"<<area<<endl;

return 0;

}

Explanation:

Declare four variables x1,x2,x3,y1,y2,y3 to store the coordinate of all three

points of circle.Read the coordinate of all the point from user.Calculate area of triangle with the help of mentioned formula area=abs((x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2))/2). Then print the area of the triangle.

Output:

Please Enter the coordinate of first point (x1,y1): 11 17                                                                                                      

Please Enter the coordinate of second point (x2,y2): 23 30                                                                                                    

Please Enter the coordinate of third point (x3,y3): 43 18                                                                                                      

area of the triangle:202  

5 0
3 years ago
What will happen if more than 2 devices attempt to access the internet ?
Lemur [1.5K]
Well it depends what kind of Internet u have
5 0
3 years ago
Please help it is for digital literacy and i suck at it
nasty-shy [4]

Answer:

A. VHS

I took web design and past

5 0
3 years ago
Read 2 more answers
Other questions:
  • If it can be applied, the least-damaging recovery option is ________.
    10·1 answer
  • When the + operator is used with strings, it is known as the?
    8·1 answer
  • Which of the following refers to a technology with a three-dimensional computer simulation in which a person actively and physic
    11·1 answer
  • When Twitter is used to gather a large group for a face-to-face meeting it is called
    10·1 answer
  • What is polymerization1​
    11·1 answer
  • Jiwoo is a professional photographer. Identify and describe a photography scenario where Jiwoo would need to consider the ethics
    12·1 answer
  • Define two benefits to members of the community of replacing the printed copy with an online version.
    5·1 answer
  • In an attempt to reach an all-time record for its premier, ads for the highly anticipated Avengers: Endgame are run on all the m
    14·1 answer
  • With a(n) ____ you can arrive at a scene, acquire the data you need, and return to the lab as quickly as possible.
    14·1 answer
  • Network connections implemented with the use of a cable modem take advantage of?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!