You are on page 1of 1

B.

Sc II SEM
PROGRAMMING METHODOLOGY AND DATA STRUCTURE
Year 2022-23
Assignment- I

S.NO DATE PROGRAM SIGN

1 Write a program to print “welcome in C++”


2 Write a program to swap the contents of two variables.
Write a program to find area of a circle, rectangle and square
3 using switch case.
4 Write a program to check a given number is even or odd.
5 Write a program to check a person is eligible for voting or not.
6 Write a program to find greatest among three numbers.
7 Write a program to check given year is a leap year or not.
8 Write a program to print table of any number. (Using for loop)
9 Write a program to print Fibonacci series. (using while loop)
Write a program to find factorial of a given number (using do-
10 while loop)
Write a program to print digits of entered number in reverse
11 order.
12 Write a program to generate even/odd series from 1 to 100.
13 Write a program whether a given number is prime or not.
14 Write a program to read N numbers and find their average.
Write a program to create a pyramid structure
1
12
123
15 1234

LAST DATE OF SUBMISSION: THIRD WEEK OF MARCH

You might also like