Question: 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

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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
