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
spayn [35]
3 years ago
6

Area Triangolo Rettangolo in c++

Computers and Technology
1 answer:
Leona [35]3 years ago
4 0

Answer:

#include <iostream>

using namespace std;

void askCat(int &cateto1, int &cateto2);

int AreaRett(int cateto1, int cateto2, int &area);

void stampaRisultato(int area);

int main()

{

  int cateto1, cateto2, area;

  askCat(cateto1, cateto2);

  area = AreaRett(cateto1, cateto2,area);

  stampaRisultato(area);

}

void askCat(int &cateto1, int &cateto2)

{

 cout << "Inserisci lunghezza cateto1: ";

 cin >> cateto1;

 cout << "Inserisci lunghezza cateto2: ";

 cin >> cateto2;

}

int AreaRett(int cateto1, int cateto2, int &area)

{

 area = (cateto1*cateto2)/2;

 return area;

}

void stampaRisultato(int area)

{

 cout << "L'area del triangolo rettangolo e': " << area << endl;

}

You might be interested in
You've been hired as a consultant to help an online store owner. You need to complete the implementation of conversion tracking
mote1985 [20]

Answer:

Google Tag Assistant can help you in the following  ways:

  • It tells you location of tags on each web page. So this feature helps by giving you a complete overview of your tags that where they are working on which page of a site.
  • It provides reasons for non-efficiency of tags. If a tag is not working then a given feature provides the reason like some error or network issue or something else which causes the tags to cease working.

Explanation:

Tag Assistant is a Chrome Extension that helps by  automatically validating the implementation of Google tracking scripts on any given page.

It automatically creates snippets for tag code.

So that tag code snippet will help you by allowing you to add it anywhere you want to add on a website or page by adding its code.

It also creates the Google Click Identifier tag that has an abbreviation as (GCLID).

<h3>I hope it will help you!</h3>
8 0
3 years ago
Different between I time and E time​
Elis [28]

Answer:

On time means at a particular designated time, i.e. neither especially early nor late. The train is scheduled to arrive on time at 13:36. In time means early enough, i.e. before a deadline or another cutoff.

Explanation:

3 0
3 years ago
Please help me i’ll give you brainlist
Genrish500 [490]

answer: C

explanation: because it's the biggest of the given platforms

5 0
2 years ago
What is a variable in programming?
HACTEHA [7]
A symbol or set of characters in a programming statement whose value can be changed
3 0
3 years ago
In a newspaper advertisement for a hybrid car, which of these presentation methods would be most effective
faltersainse [42]
Your answer is a....
6 0
3 years ago
Read 2 more answers
Other questions:
  • Templates allow for the quick creation of _____.
    7·1 answer
  • Create an array of strings. Let the user decide how big this array is, but it must have at least 1 element. Prompt them until th
    8·1 answer
  • Cpu coolers are typically made using what two different types of materials?
    6·1 answer
  • Irene is creating a wireframe of a website she is working on to show her client. In which phase of the development process is sh
    13·1 answer
  • A large number of genetic codes are stored as binary values in a list. Which one of the following conditions must be true in ord
    5·2 answers
  • William is an Architect in charge of designing a new library for a city. Which tasks will he need to perform to ensure the proje
    10·2 answers
  • Make a list of any four computer that were used in the history of computer.​
    6·1 answer
  • This feature allows you to adjust your view to see the lower and upper part of a document
    15·2 answers
  • Your class requires you to use a program you must download on your computer. You have waited until day 5 of the week to download
    13·1 answer
  • What web browser feature would be particularly useful when using public computers?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!