0% found this document useful (0 votes)
6 views9 pages

Lab Assignment

The document is a lab assignment for a programming course, detailing various programming tasks for students to complete. It includes 15 programming questions covering topics such as even/odd checks, addition of variables, leap year checking, factorial calculation, palindrome checking, voting eligibility, Fibonacci series, multiplication tables, prime numbers, array operations, and matrix addition. The assignment is submitted by Ayush Talaviya, with specific enrollment and batch information.

Uploaded by

chocotv1001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views9 pages

Lab Assignment

The document is a lab assignment for a programming course, detailing various programming tasks for students to complete. It includes 15 programming questions covering topics such as even/odd checks, addition of variables, leap year checking, factorial calculation, palindrome checking, voting eligibility, Fibonacci series, multiplication tables, prime numbers, array operations, and matrix addition. The assignment is submitted by Ayush Talaviya, with specific enrollment and batch information.

Uploaded by

chocotv1001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

LAB ASSIGNMENT

NAME : Ayush Talaviya


ENROLLMENT NUMBER :24SE02IT033
BATCH :G1D3 (A)
SUBJECT :Joy Of Programming
SUBJECT CODE : SECE1120

Q.1 Write a program to check number is even or odd.

Q.2 Write a program to take the addition of two variables and store it
in third variable and display it.
Q.3 Write a program for checking leap year.

Q.4 Write a program for factorial of a number.


Q.5 Write a program for checking number is palindrome or not.

Q.6 Write a program for checking eligibility of a person for casting a


vote.
Q.7 Write a program for Fibonacci series .

Q.8 Write a program for printing multiplication table of 5 using for


loop.
Q.9 Write a program for printing prime numbers between range of 1
to 100 .

Q.10 Write a program for finding the largest element in the array .
Q.11 Write a program for finding the second smallest element of the
array.

Q.12 Write a program to concatenate two arrays.


Q.13 Write a program to finding the average of an array.

Q.14 Write a program to print the array in reverse order.


Q.15 Write a program for doing matrix addition and store the result
in third array and display it on the screen.

THANK YOU

You might also like