# Write Program C Sum Numbers 1 1000 Ignoring Numbers Divisible 10 5 10 Marks B Using Array Q30616020

A. Write a program in C that will sum all the numbers from 1 to 1000 while ignoring all numbers divisible by 10 and 5 [10 Marks] B. Using the array shown of sample values you are required to write a full program which includes a main0 and a function called Cumulative. This function will add each cell of an array to the value of the previous array cell so that the array then stores the cumulative values of all the array cells from 0 to N-1 Hint: See a sample starting array and final array shown: Starting Array Final Array: 4 4 10 Marks] Write a full C program that will calculate the area of a triangle using a dedicated function to the accuracy of two decimal places by asking the user directly for the key dimensions in floats. C. Hint: The formula for determining the area of a triangle is: Base* Height [10 Marks Show transcribed image text A. Write a program in C that will sum all the numbers from 1 to 1000 while ignoring all numbers divisible by 10 and 5 [10 Marks] B. Using the array shown of sample values you are required to write a full program which includes a main0 and a function called Cumulative. This function will add each cell of an array to the value of the previous array cell so that the array then stores the cumulative values of all the array cells from 0 to N-1 Hint: See a sample starting array and final array shown: Starting Array Final Array: 4 4 10 Marks] Write a full C program that will calculate the area of a triangle using a dedicated function to the accuracy of two decimal places by asking the user directly for the key dimensions in floats. C. Hint: The formula for determining the area of a triangle is: Base* Height [10 Marks

## Leave a Reply

Want to join the discussion?Feel free to contribute!