Skip to content

Instantly share code, notes, and snippets.

@neerajsingh0101
Forked from vikas95prasad/questions.txt
Last active December 17, 2021 10:54
Show Gist options
  • Save neerajsingh0101/72d170ed361fb39eed44c96c68056ebd to your computer and use it in GitHub Desktop.
Save neerajsingh0101/72d170ed361fb39eed44c96c68056ebd 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