Question: Q1) Write a C program to do the following. It should be a main() function containing all the correct syntax and variable declarations, etc. i.e.

Q1) Write a C program to do the following. It should be a main() function containing all the correct syntax and variable declarations, etc. i.e. it should work on DevC++ correctly. Find the sum of integers 1 through 365, and print the sum to screen. No reading value into the program via keyboard. 365 k k=1 Write a C program to do the following. It should be a main() function containing all the correct syntax and variable declarations, etc. i.e. it should work on DevC++ correctly. Find the following sum (No reading value into the program via keyboard): Sum of 2 to the power k, k = 0 to 15. Print the sum using printf. 15 sum= 2k k=0 Help: Follow the (i=0;1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
