Program to print the sum and average of first n even numbers


Question 1) Write a program to input the marks in theory and practical and print the result.

Question 2) Write a program to input a date (dd / mm / yyyy) and check for the validity of the date.

Question 3) Write a program to print counting from 1 to 10.

Question 4) Write a program to print counting from 10 to 1.

Question 5) Write a program to print counting from 51 to 90.

Question 6) Write a program to find out the sum and average of all the numbers within the given range.

Question 7) Write a program to print all the numbers falling between 2 numbers entered by the user.

Question 8) Write a program to print all the even numbers between 1 and 50.

Question 9) Write a program to print all the odd numbers between 1 and 50.

Question 10) Write a program to print the sum and average of first n natural numbers.

Question 11) Write a program to print the sum and average of first n odd numbers.

Question 12) Write a program to print the sum and average of first n even numbers.

Question 13) Write a program to print the table of a given number.

Question 14) Write a program to input 2 numbers and find out the sum of all the even numbers which arenot divisible by 5 but divisible by 3 and lies between the given two numbers.

Question 15) Write a program to input the name and age of a person and print the name as many times asage.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program to print the sum and average of first n even numbers
Reference No:- TGS04883

Expected delivery within 24 Hours