Question: write the programs in as simple as possible (C programing for Q1,2,3,5) (pyhton for Q4) Q.1) Write a program to Calculate the sum of N
Q.1) Write a program to Calculate the sum of N numbers. N should be taken from the keyboard. Q.2) Write a program to Calculate the sum 1+3+5+7+9+11+.+N. Number N should be taken from the keyboard. Q.3) Using Function, Write a program to calculate the sum of N number. N should be taken from the keyboard. Q.4) Write a program to check year is a leap year or not. Q.5) Write a program to display all the prime numbers within 1 to 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
