0% found this document useful (0 votes)
2 views13 pages

MCA C Lab Assignments Overview

The document outlines assignments for an MCA (1st Semester) C-Lab course, detailing various programming tasks. These tasks include basic operations, control structures, and array manipulations using different programming constructs. The assignments are structured into five parts, each focusing on specific programming concepts and techniques.

Uploaded by

huzefa.gcp
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)
2 views13 pages

MCA C Lab Assignments Overview

The document outlines assignments for an MCA (1st Semester) C-Lab course, detailing various programming tasks. These tasks include basic operations, control structures, and array manipulations using different programming constructs. The assignments are structured into five parts, each focusing on specific programming concepts and techniques.

Uploaded by

huzefa.gcp
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

Name : Huzefa Bin Juned

RollNo : 25MMCA016HY
Course : MCA (1st Semester)
Subject : C - Lab

[Link] World.

[Link] a Number Entered by the User.


3. Sum of two numbers.

[Link] Whether Number is Positive or Negative.


5. Check whether the number is Even or Odd.

[Link] Greater Between Two Numbers.

[Link] System using an if-else ladder.


8. Check if the character is Vowel or Consonant.

9. Simple Calculator using switch.


[Link] if a number is positive and even/odd
[Link] Numbers from 1 to 10.

Assignment : 02
1. Switch Case : display the day name based on a number.
2. for Loop - Print numbers from 1-5

3. while loop – Print numbers from 1-5


4. do while loop – Print numbers from 1-5.

5. Reverse numbers from n to 1.


6. Sum of n natural numbers.

7. Factorial of a number.
8. Reverse digits of a number.

Assignment : 03

1. Addition of Two Arrays (1d)


2. Addition of Two Arrays (2d)

3. Multiplication of 2D array
Assignment : 04

1. Function Declaration

​ ​ ​ ​ ​ ​
​ ​ ​
​ ​ ​ ​
​ ​ ​ ​ ​
Assignment : 05

STRUCTURE PROGRAM

You might also like