QUESTION 4 Given first 10 natural numbers. (a) Write a C program to find the sum of first 10 natural numbers using for-l
Posted: Sun May 15, 2022 2:33 pm
QUESTION 4 Given first 10 natural numbers. (a) Write a C program to find the sum of first 10 natural numbers using for-loop. (5 marks) (b) Refer in Q4(a) write program using while-loop. (5 marks) (a) Refer in Q4(a) write program using do-while-loop. (5 marks)