write a program using switch case to print the solution of following equations : i) 3X + 4Y + Z (input X,Y and Z). ii) 3A^2 + 4B^3 + 3C
urgent
Answers
Answered by
3
Answer:
The switch case statement is used when we have multiple options and we need to perform a different task for each option.
C – Switch Case Statement
Before we see how a switch case statement works in a C program, let’s checkout the syntax of it
Answered by
0
Explanation:
hlo mate here's your answer
Examples:
Input: a = 3, n = 3
Output: 0.6666667
The series is 1/3 + 1/9 + 1/27 which is
equal to 0.6666667
Input: a = 5, n = 4
Output: 0.31039998
i hope its help you mark as brainlist plz
Similar questions