Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

To find the third angle of a triangle when two angles are given.(QBasic)

To find the third angle of a triangle when two angles are given. (Qbasic Code)

CLS
INPUT "Enter the first angle of triangle in degrees"; a
INPUT "Enter the second angle of triangle degrees"; b
c = 180 - (a + b)
PRINT "The third angle of the triangle is"; c; "degrees"
END

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.