9. Represent the following statements using syntax in C programming language. s=n k=n while (k> 1) k = k-1 s=s+k

icon
Related questions
Question
9. Represent the following statements using syntax in C
programming language.
S = n
k = n
while (k > 1)
k = k - 1
s = s + k
Transcribed Image Text:9. Represent the following statements using syntax in C programming language. S = n k = n while (k > 1) k = k - 1 s = s + k
Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer