Computer Science, asked by questionandanswers10, 20 days ago

pls tell it is for my project I give you points​

Attachments:

Answers

Answered by chitrakantpange
0

1. C Program to Check Whether a Number is Divisible by 5 and 11 Using Conditional Operator. printf("Enter an number: "); scanf("%d", &num); ((num % 5 == 0) && (num % 11 == 0)) ?

2. Input all three angles of triangle in some variable say angle1 , angle2 and angle3 . Find sum of all three angles, store sum in some variable say sum = angle1 + angle2 + angle3 . Check if(sum == 180) then, triangle can be formed otherwise not.

PLEASE MARK ME AS BRAINLIEST

Answered by anishkumarsingh2022
0

Answer:

To check divisibility with 5 and 11 both, check if((num % 5 == 0) && (num % 11 == 0)) , then number is divisible by both 5 and 11.

Similar questions