-- There is no reason to write the first three questions separately.
----Question 1st: A + B + C
<Strong> <span style = "font-size: 18px;"> <span style = "color: # ff0000;" >#include <stdio. h> </span> </strong> int main () {int A, B, C; scanf ("% d", &, & B, & C); printf ("% d", A + B + C) ;}< strong> <span style = "font-size: 18px; "> <span style =" color: # ff0000; "> </span> </strong>
----Question 2nd: Division
# Include "stdio. H "int main () {int A, B; scanf (" % d ", & A, & B); if (a % B = 0) printf ("yes"); elseprintf ("no ");}
---- Question 3rd: determining the prime number
# Include "stdio. H "int main () {int A, I; scanf (" % d ", & A); for (I = 2; I <A; I ++) {if (a % I = 0) {printf ("no"); Return 0;} elsecontinue;} if (I = A) printf ("yes ");}
Question 1st: Question A + B + C & question 2nd: Division Question & question 3rd: Number of quality judgments