C++ Task1
C++ Task1
1. Write a simple program that prints the words "Hello World" on the console.
2. In this problem, you have to create a simple program that reads a number that is
entered by the user and prints it on the console screen.
3. In C++, each character has some ASCII value associated with it. In this problem, we
have to print the ASCII value of the character in the console.
4. You have to create a program that swaps the value of two number variables. It means
that the value of the first variable will be stored in the second variable and the value
of the second variable should be stored in the first variable.
5. You have to create a program that swaps the value of two number variables. It means
that the value of the first variable will be stored in the second variable and the value
of the second variable should be stored in the first variable.
6. In this problem, you have to write a program that calculates and prints the compound
interest for the given Principle, Rate of Interest, and Time.