C++ Lab2
C++ Lab2
5. Write a program that uses const to declare a constant and print its value.
6. Create a program that prints the size of different data types (int, float, char, etc.).
9. Write a program that initializes a character and prints its ASCII code.
10. Create a program to find the maximum of two variables using conditional operators.
12. Create a program that declares a double variable and outputs its value.
17. Write a program to demonstrate the use of the bool data type.
20. Create a program that takes three different numbers and finds the largest one.