sorry for that.
to all "bisaya" im also "bisaya" bcoz my parents is from capiz "aswan"
can any one help me to know all "pinoy" here
sorry for that.
to all "bisaya" im also "bisaya" bcoz my parents is from capiz "aswan"
can any one help me to know all "pinoy" here
the best password is my password its very unique coz it is non-sense try diz
3nt3rp4ssw0rd
i think its good to use firefox bcoz it was easy to use and i prefer to use to use ie bcoz it is also easy to use but ie doest have tabs
thier is no diff. in that but it vb.net has more syntax that is usefull to make web app.
i think use more codes but o don,t know that code but i have calculator to y dont u check this
try that loadPicture diz the syntax
loadpicture.picture (D:// ... ... ... ) <this is the path of the picture
[code=vb]Private Shared Function Main() As Integer
clrscr()
Dim a As Single
Dim b As Single
Dim c As Single
Dim S As Single
Dim D As Single
Dim A As Single
Dim B As Single
Dim C As Single
Dim Area As Single
Dim R As Single
Console.Write("Enter the lengths of the three sides of the triangle : ")
scanf("%f%f%f", a, b, c)
S = (a+b+c)/2.0 ' S is the semiperimeter of the triangle
D = S(S-a)(S-b)*(S-c) 'D is the square of the area of the triangle
If D<=0 Then
Console.Write(" The triangle cannot be formed")
Console.ReadKey(True).KeyChar
exit(0)
End If
If (a =b OrElse b =c OrElse c =a) AndAlso Not(a =b AndAlso b =c AndAlso c =a) Then
' this complex logic is to eliminate interpretting a triangle with all
' sides equal as both isosceles and equilateral.
Dim printf As three = New three(" The triangle is ISOSCELES ")
End If
If a =b AndAlso b =c AndAlso c =a Then
Console.Write(" The triangle is EQUILATERAL ")
End If
If a<>b AndAlso b<>c AndAlso c<>a Then
Console.Write(" The triangle is SCALENE ")
End If
Area = Math.Sqrt(D)
R = (a b c)/(4.0 Area)
Console.Write("PERIMETER = {0:f2} units ",(2.0 S))
Console.Write("AREA = {0:f2} sq.units ",Area)
Console.Write("CIRCUM RADIUS = {0:f2} units ",R)
' using sine rule,we get...
A = (180.0/3.1415926)Math.Asin(a/(2.0 R)) ' value of pi should be upto 7
B = (180.0/3.1415926)Math.Asin(b/(2.0 R)) ' decimal places of accuracy and
Dim C As also = (180.0/3.1415926)Math.Asin(c/(2.0 R)) ' note that the ...
guyz pinoy din ako txt me hir for more info 09176434806 or add me [email]technogeek_42@yahoo.com[/email]
who can help me to derive this C++ codes to VB that can draw the triangle
[CODE=c]#include
main()
{
clrscr();
float a,b,c,S,D,A,B,C,Area,R;
printf("Enter the lengths of the three sides of the triangle :
");
scanf("%f%f%f",&a,&b,&c);
S = (a+b+c)/2.0; // S is the semiperimeter of the triangle
D = S(S-a)(S-b)*(S-c);//D is the square of the area of the triangle
if(D<=0)
{
printf("
The triangle cannot be formed");
getch();
exit(0);
}
if((a==b || b==c || c==a) && !(a==b && b==c && c==a))
// this complex logic is to eliminate interpretting a triangle with all
three
// sides equal as both isosceles and equilateral.
printf("
The triangle is ISOSCELES
");
if(a==b && b==c && c==a)
printf("
The triangle is EQUILATERAL
");
if(a!=b && b!=c && c!=a)
printf("
The triangle is SCALENE
");
Area = sqrt(D);
R = (abc)/(4.0Area);
printf("PERIMETER = %.2f units
",(2.0S));
printf("AREA = %.2f sq.units
",Area);
printf("CIRCUM RADIUS = %.2f units
",R);
// using sine rule,we get...
A = (180.0/3.1415926)asin(a/(2.0R));// value of pi should be upto 7
B = (180.0/3.1415926)asin(b/(2.0R));// decimal places of accuracy and
also
C = (180.0/3.1415926)asin(c/(2.0R));// note that the 7th decimal place
is
// 6 and not 7 as it had to be if were
if(A==90.0 || B==90.0 || C==90.0) // approximated to 7 decimal
places
printf("
The triangle is RIGHT ANGLED
");
if(A<90.0 && B<90.0 && C<90.0)
printf("
The triangle is ACUTE ANGLED
");
if(A>90.0 || B>90.0 || C>90.0)
printf("
The triangle is OBTUSE ANGLED
");
printf("
The angles are as follows :
"); ...