Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

PRACTICAL CONTINUOUS AISHWARYA SARKAR 11001422002

ASSESSMENT – 1

GOVERNMENT COLLEGE OF ENGINEERING AND


TEXTILE TECHNOLOGY SERAMPORE

PRACTICAL CONTINUOUS ASSESSMENT – 1


ASSIGNMENT FOR PCA 1

Name: AISHWARYA SARKAR


Stream: Textile Technology
University Roll no: 11001422002
Registration no: 221100110139 of 2022-2023
Subject name: Numerical Method Lab
Subject code: ES TT 491
Semester: 4th
Academic year: 2023-2024

Numerical Method Lab ES TT 491 1


PRACTICAL CONTINUOUS AISHWARYA SARKAR 11001422002
ASSESSMENT – 1

1) WAP to SWAP two values.

ALGORITHM
1. Input two integer values a and b.
2. Declare a temporary variable temp.
3. Assign the value of a to temp.
4. Assign the value of b to a.
5. Assign the value of temp to b.
6. Output the swapped values of a and b.

FLOWCHART

Numerical Method Lab ES TT 491 2


PRACTICAL CONTINUOUS AISHWARYA SARKAR 11001422002
ASSESSMENT – 1

PROGRAMME

OUTPUT

Numerical Method Lab ES TT 491 3

You might also like