0% found this document useful (0 votes)
3 views1 page

C Programming Lab Assignment Tasks

The document outlines the final lab assignment for the Computer Programming Lab at Rajendranath College of Polytechnic. It includes eight programming tasks in C, such as reversing an array, calculating factorials, and checking for Armstrong numbers. Students are instructed to submit handwritten answers on A4 size paper with a proper lab copy format and an index page.

Uploaded by

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

C Programming Lab Assignment Tasks

The document outlines the final lab assignment for the Computer Programming Lab at Rajendranath College of Polytechnic. It includes eight programming tasks in C, such as reversing an array, calculating factorials, and checking for Armstrong numbers. Students are instructed to submit handwritten answers on A4 size paper with a proper lab copy format and an index page.

Uploaded by

drakhi876
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

RAJENDRANATH COLLEGE OF POLYTECHNIC

GOPALPUR, DURGAPUR-12
DEPT: COMPUTER SCIENCE & ENGINEERING, YEAR: 2ND, SEM: 3RD, SUB:
COMPUTER PROGRAMMING LAB

FINAL LAB ASSIGNMENT OF PROGRAMMING IN C


ANSWER THE FOLLOWING PROGRAM WITH APPROPIATE OUTPUT:

1. WRITE A C PROGRAM TO REVERSE ELEMENT AN ARRAY OF INTEGERS:


2. WRITE A C PROGRAM TO FIND THE FACTORIAL OF A NUMBER:
3. WRITE A C PROGRAM TO CHECK IF A NUMBER IS PETERSON OR NOT:
4. WRITE A C PROGRAM TO COUNT THE NUMBER OF VOWELS IN A STRING:
5. WRITE A C PROGRAM TO COMPARES TWO STRINGS USING “STRCMP()”:
6. WRITE A C PROGRAM TO CHECK A NUMBER ARMSTRONG OR NOT:
7. WRITE A C PROGRAMMING TO DISPLAY FIBONACCI SEQUENCE.
8. WRITE A C PROGRAM TO PRINT PATTERN OF STAR:
*
**
***
****

*NOTE:
i) Use A4 Size Page with Channel File.
ii) For this assignment, you are required to write the answers in your own
Handwriting.
iii) Submit the assignment with proper Lab Copy format and also attach the Index
page.

You might also like