Answer:
1 You can learn to draw
2 You can learn to code
3 You can learn to make a thumbnail
4 You can learn how to follow yourself
5 You can learn to remix your own projects
6 You can learn how to make a featured project you've never shared
Explanation:
Answer:
#include <stdio.h>
int main()
{
int avg = 0;
int sum =0;
int x=0;
/* Array- declaration – length 4*/
int num[4];
/* We are using a for loop to traverse through the array
* while storing the entered values in the array
*/
for (x=0; x<4;x++)
{
printf("Enter number %d \n", (x+1));
scanf("%d", &num[x]);
}
for (x=0; x<4;x++)
{
sum = sum+num[x];
}
avg = sum/4;
printf("Average of entered number is: %d", avg);
return 0;
}
Answer: Both diamond and graphite are made entirely out of carbon, as is the more recently discovered buckminsterfullerene (a discrete soccer-ball-shaped molecule containing carbon 60 atoms). The way the carbon atoms are arranged in space, however, is different for the three materials, making them allotropes of carbon. (My Notes)
Explanation:
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;
}