//Written in C++. ALFRED OMONDI ORIMBO (orimbo@gmail.com)
# include
# include
using namespace std;
void main()
{
double s,a,b,c,area;
cout<<"type a value for first side of triangle: ";
cin>>a;
cout<<"\ntype a value for second side of triangle: ";
cin>>b;
cout<<"\ntype a value for third side of triangle: ";
cin>>c;
s=(a+b+c)/2;
area = sqrt(s*(s-a)*(s-b)*(s-c));
cout<<"\narea = "<
}
Write a program that calculates the area of a triangle in QBASIC
Reference:cprogramming-bd.com/c_page3.aspx#calculates the value of money
Using while loop, write a program which calculates the product of digits from 1 to 5 and also show these no's vertically.
ring me and ill explain - 086 22222222222222227 ring me
a triangle then a square :)
Write a program that calculates the area of a triangle in QBASIC
program calculates
Reference:cprogramming-bd.com/c_page3.aspx#calculates the value of money
Using while loop, write a program which calculates the product of digits from 1 to 5 and also show these no's vertically.
No, as long as it calculates something, displays something, or otherwise has an output that benefits the user, it is a program. It could be a program that makes a random number, or a program that tells the user a joke from a database.
yea
ring me and ill explain - 086 22222222222222227 ring me
a circle has an area of 36pie square centimeters what is the circumference ?
Md5sum is a program that verifies and calculates 128-bit MD5 hashes. The MD5 checksum is seen as the compact digital fingerprint that is unique to each file.
include #include#includevoid main(){int a,b,c:float s,A,x=1/2;clrscr();printf(" three sides of a triangle\n");scanf("%d %d %d",&a,&b,&c);s=(a+b+c)/2;A=pow((s(s-a)(s-b))(s-c)),x);printf("AREA OF TRIANGLE:%d\n"'A);gech();}
Microsoft office excel you can use for any kind of calculations
You don't need a program; the formula is b*h/2.