-
-
Save neerajsingh0101/72d170ed361fb39eed44c96c68056ebd to your computer and use it in GitHub Desktop.
10th-CBSE-CS-Assignments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.Write a program to input a welcome message and print it. | |
2.Program to obtain three number and print their sum. | |
3.program to obtain length and breadth of a rectangle and calculate its area. | |
4.write a program to input a number and print its cube. | |
5.write a program to input two numbers and swap them. | |
6.Program that prints the following pattern without using any nested loop. | |
# | |
## | |
### | |
#### | |
##### | |
7.Write a program to print the following patterns. | |
* | |
*** | |
**** | |
***** | |
8.Write a program to find the sum of digits of an integer number,input by the user | |
9.Write a program to check if the year entered by the user is a leap year or not. | |
10.Write a program to input three numbers and display the largest/smallest number. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment