Computer Science, asked by khushitverma888, 2 days ago

Using the two branch statements you have mentioned, write two C programs to solve the
following:
Read a mark X between 0 <= X <= 100;
Print “A” if 80 <= X;
Print “B” if 60 <= X < 80;
Print “C” if 40 <= X < 60;
Print “D” if 30 <= X < 40;
Print “F” otherwise

Answers

Answered by ooOOooTanyaooOOoo
0

Explanation:

The best way to figure out if it's a composite number is to perform the divisibility test. To do this, you should check to see if the number can be divided by these common factors: 2, 3, 5, 7, 11, and 13. If the number is even, then start with the number 2. If the number ends with a 0 or 5, try dividing by 5.

Similar questions