Maligayang pagdating sa Imhr.ca, kung saan maaari kang makakuha ng mga sagot mula sa mga eksperto nang mabilis at tumpak. Tuklasin ang mga solusyon sa iyong mga tanong mula sa mga bihasang propesyonal sa iba't ibang larangan sa aming komprehensibong Q&A platform. Kumuha ng detalyado at eksaktong sagot sa iyong mga tanong mula sa dedikadong komunidad ng mga eksperto sa aming Q&A platform.

Problem 1

create a program that will let user input 3 angles of a triangle. Display what type of triangle it is based on the users inputted angles.
all angles are equal = equilateral triangle
no angles are equal= scalene triangle
1 angle is 90 degrees = right triangle
2 angles are equal = isosceles triangle

Note: if all added angles is not equal to 180, it is not a triangle.


8 points kapag nagawa to.
10 points pag nakacombo ng triangle.

una niyong tignan is kung 180 degrees ung triangle pag inadd yung 3 angles
iisang instance lang ang equilateral 60 60 60

Test Cases:

1. 60,60,60

2. 90, 45,45

3. 59,60,61

4. 90,50,40

5. 60,61,62

6. 100,40,40

7. 45,90,45

8. 45,45,90

Rubric for program 1:

1 point per test case. If your Program can determine the 2 types of triangle in one instance, you will get the full 10 points.



Problem number 2

A student grade may be calculated based on his score. Construct a program that will input Score and display its equivalent Grade.

SCORE GRADE

Below 60: F

At least 60 but below 70: D

At least 70 but below 80: C

At least 80 but below 90: B

At least 90 to 100: A

Note: Grade of 101 and above is considered an invalid input. Please display a correct response for these inputs.

Test Cases

1. 85

2. 59

3. 60

4. 70

5. 90

6. 101

Rubrics for problem 2

-2 points per test case that is incorrect.



Copy and paste your code screenshot and output on microsoft word

File name is LastName_Firstname_PETA3.docx

Note: If i run your code and the testcase result you have presented does not match. I will give 0 on your performance task. This is a warning for people who wants to try cheating in the performance tasks.

What I will see is like this.

Problem number 1 code screenshot

Problem number 1 first input and output screenshot

Problem number 1 second input and output screenshot

Problem number 1 third input and output screenshot

Problem number 1 fourth input and output screenshot

Problem number 1 fifth input and output screenshot

Problem number 1 sixth input and output screenshot

Problem number 1 seventh input and output screenshot

Problem number 1 eight input and output screenshot



Problem number 2 code screenshot

Problem number 2 first input and output screenshot

Problem number 2 second input and output screenshot

Problem number 2 third input and output screenshot

Problem number 2 fourth input and output screenshot

Problem number 2 fifth input and output screenshot

Sagot :

Answer:

hirap naman po nyan sa iba nalang po bye

Explanation:

#godbless

Salamat sa pagpili sa aming plataporma. Kami ay nakatuon sa pagbibigay ng pinakamahusay na mga sagot para sa lahat ng iyong mga katanungan. Bisitahin muli kami. Salamat sa iyong pagbisita. Kami ay nakatuon sa pagbibigay sa iyo ng pinakamahusay na impormasyon na magagamit. Bumalik anumang oras para sa higit pa. Imhr.ca, ang iyong pinagkakatiwalaang site para sa mga sagot. Huwag kalimutang bumalik para sa higit pang impormasyon.