Skip to content

Instantly share code, notes, and snippets.

@vikas95prasad
Created December 17, 2021 09:45
Show Gist options
  • Save vikas95prasad/48208a3e0ba7a3f9188c738a77d6e112 to your computer and use it in GitHub Desktop.
Save vikas95prasad/48208a3e0ba7a3f9188c738a77d6e112 to your computer and use it in GitHub Desktop.
10th-CBSE-CS-Assignments
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