1.
Write a C++ program to interchange the values of two variables using
third variable.
Create a Webpage to display your details using different tags.
2. Write a C++ program to interchange the values of two variables without
using third variable.
Create a model website for your college using different tags.
3. Write a C++ program to find the area and circumference of the circle.
ESS for Sales of the month of 5 employees.
4. Write a C++ program to find the area of a triangle given three sides.
ESS for the Salary of the month of 5 employees.
5. Write a C++ program to convert days into years, months and days.(
assume all months have 30 days)
ESS for the test marks data of a class.
6. Write a C++ program to find the largest, smallest and second largest.
ESS for the Budget for the month.
7. Write a C++ program to input the total amount in a bill, if the amount is
greater than 1000, a discount of8% is given. Otherwise no discount is
given. Output total amount, discount and the final amount. Use if
statement.
Create a Webpage to display your details using different tags.
8. Write a C++ program to check whether a given year is a leap year or not
using if-else statement.
Create a model website for your college using different tags.
9. Write a C++ program to accept a vharacter. Determine whether the
character is a lower case or uppercase letter.
ESS for Sales of the month of 5 employees.
10.Write a C++ program to input the number of units of electricity
consumed in a house and calculate the final amount using nested if
statement. Use the following data for calculation.
Units consumed Cost
<30 Rs 3.50/unit
>=30 and <50 Rs 4.25/unit
>=50 and <100 Rs 5.25/unit
>=100 Rs 5.85/unit
ESS for the Salary of the month of 5 employees.
11.Write a C++ program to input the marks of four subjects calculate the
total, percentage and output the result as either”first class” or”second
class”or”pass class” or “fail” using switch statement.
Class Range%
first class Between 60 and 100%
second class Between 50 and 59%
pass class Between 40 and 49%
fail less than 40%
ESS for the test marks data of a class.
12.Write a C++ program to find the sum of all the digits of a number using
while statement.
ESS for the Budget for the month.
13.Write a C++ program to input principal rate of interest and time period,
calculate the compound interest using while statement.
Create a Webpage to display your details using different tags.
14.Write a C++ program to check whether the given number is power of 2.
Create a model website for your college using different tags.