program1:- Write a program to find the roots of a quadratic equation.

program2:- Write a program to calculate the power of a number using a loop.

program3:- Write a program to check if a given string, is a palindrome.

program4:- Write a program that simulates a simple ATM machine, allowing users to check their balance, deposit, or withdraw money using a switch statement.

program5:- Write a program that finds the largest among three numbers using nested if-else statements.

program6:- Write a program that determines the grade of a student based on their marks of 5 subjects using if-else-if ladder.

program7:- Write a program to find the sum of digits of a number until it becomes a single- digit number.

program8:- Write a program to print a Pascal's triangle using nested loops.

program9:- Write a program to calculate the sum of series 1/1! + 2/2! + 3/3! + ... + N/N! using nested loops.

program10:- Write a program to create an array of strings and display them in alphabetical order.

program11:- Write a program that checks if an array is sorted in ascending order.

program12:- Write a program to calculate the sum of elements in each row of a matrix.

program13:- Write a program to generate all possible permutations of a string.

program14:- Create a C++ program to print the following pattern:

program15:- Write a C++ program to display the following pattern:

program16:- Write a program to creating an inventory management system for a small store. The system should use object-oriented principles in C++. Your program should have the following features: • Create a Product class that represents a product in the inventory. Each Product object should have the following attributes: • Product ID (an integer) • Product Name (a string) • Price (a floating-point number) • Quantity in stock (an integer) • Implement a parameterized constructor for the Product class to initialize the attributes when a new product is added to the inventory.

program:-17 Write a program to manage student records. Create a class Student with attributes such as name, roll number, and marks. Implement methods for displaying student details, adding new students, and calculating the average marks of all students in the record system.

program18:- Write a program that implements a basic calculator. Use a class Calculator with methods to perform addition, subtraction, multiplication, and division of two numbers. The program should allow the user to input two numbers and select an operation to perform.

program19:- Write a program to simulate a simple online shop. Create a class Product with attributes like name, price, and quantity in stock. Implement methods for adding products to the shopping cart, calculating the total cost, and displaying the contents of the cart.

program20:- Write a program to manage student grades for a classroom. Create a class Student with attributes for student name and an array to store grades. Implement methods for adding grades, calculating the average grade, and displaying the student's name and grades. Use constructors and destructors to initialize and release resources.