Answer to Question #328843 in UNIX/Linux Programming for opuop

Question #328843

2. Write a script that will accept the sides of a triangle, let them be “a”, “b”, “c”. Based on these variable values determine if the triangle is right angled or not, by using Pythagoras theorem. Hint: if c2 = a2 + b2 then the given sides are right angled triangle else not a right-angled triangle.

3. Write a script that should prompt a user to enter his\her hourly rate, number of hours per day, number of days per week and number of weeks per year. Then the system computes the annual income. Hint: Boyce earns P35 per hour at his job. What would be his annual income be if he works 8 hours per day, 5 days per week, and 50 weeks per year .


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS