CH-2 | Constants, Variables, and Data Types
- 2.1 | Write a program to determine and print the sum of the following harmonic series for a given value of n.
- 2.2 | Write a program to read the price of an item in decimal form (like 15.96) and print the output in paisa ( like 1596).
- 2.3 | write a program that prints the even numbers from 1 to 100.
- 2.4 | Write a program that requests two float type numbers from the user and then divides the first number by the second and display the result along with the numbers.
- 2.5 | The price of one kg rice is Rs. 16.75 and one kg sugar is Rs. 15. Write a program to get the value from the user and display the prices
- 2.6 | Write program to count and print the number of negative and positive numbers in a given set of numbers.
- 2.7 | Write a Program to do the following:
- 2.8 | Write a program to read two floating point numbers using a scanf statement, assign their sum to an integer variable and then output the values of all the three variables.

