Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
b136e9d
Functions in C
goldendeepkaur Sep 11, 2019
23507d7
Merge pull request #1 from Jasmine78/master
goldendeepkaur Sep 11, 2019
7654c7f
Update README.md
Payal508 Nov 8, 2019
abecfa4
Add files via upload
iqbalsingh1590 Nov 9, 2019
426565b
Update README.md
Payal508 Nov 9, 2019
c44492f
Delete PPS.txt
iqbalsingh1590 Nov 9, 2019
33fa108
Update README.md
Payal508 Nov 10, 2019
6b15ac7
Delete README.md
rishabmehndiratta Nov 10, 2019
89b44c4
Create Readme.md
rishabmehndiratta Nov 10, 2019
e781e6e
Update Readme.md
rishabmehndiratta Nov 10, 2019
01f624a
PPS Practical Assignment
rishabmehndiratta Nov 10, 2019
a912c86
PPS Practical Assignment
rishabmehndiratta Nov 10, 2019
1882743
PPS Practical Assignment
rishabmehndiratta Nov 10, 2019
a766c60
Update and rename README.md to 1915323.md
Japneet01 Nov 10, 2019
fe02284
Update README.md
Payal508 Nov 10, 2019
ae70205
Add files via upload
iqbalsingh1590 Nov 11, 2019
54219ae
Create my pps file
iqbalsingh1590 Nov 11, 2019
cd8b248
Create my pps project
iqbalsingh1590 Nov 11, 2019
ffb12c6
Create pps.md
iqbalsingh1590 Nov 11, 2019
89d341d
Create 1915320 pps.md
iqbalsingh1590 Nov 11, 2019
ea77fa3
PPS md File
rishabmehndiratta Nov 13, 2019
90024ea
PPS md File
rishabmehndiratta Nov 13, 2019
164ed95
Create p2.c
Nimratkaur Nov 16, 2019
1d2f3b6
Create p3.c
Nimratkaur Nov 16, 2019
2d6dafc
Create p4.c
Nimratkaur Nov 16, 2019
36bb5d8
Create p5.c
Nimratkaur Nov 16, 2019
9556437
Create p6.c
Nimratkaur Nov 16, 2019
587adbc
Rename p6.c to p5-1.c
Nimratkaur Nov 16, 2019
c2de322
Create p6.c
Nimratkaur Nov 16, 2019
e67b1c9
Create p7.c
Nimratkaur Nov 16, 2019
f8492dc
Create p9.c
Nimratkaur Nov 16, 2019
9b99ace
Create p10.c
Nimratkaur Nov 16, 2019
f3593ac
Create p11.c
Nimratkaur Nov 16, 2019
6e6c947
Create p12.c
Nimratkaur Nov 16, 2019
47ae71b
Create p13.c
Nimratkaur Nov 16, 2019
8c40c0f
Create p14.c
Nimratkaur Nov 16, 2019
15a9b31
Create p15.c
Nimratkaur Nov 16, 2019
754d6b8
Create p16.c
Nimratkaur Nov 16, 2019
5d412c3
Create p17.c
Nimratkaur Nov 16, 2019
9968287
Create p18.c
Nimratkaur Nov 16, 2019
5f2a8ac
Create P19_1.c
Nimratkaur Nov 16, 2019
476c2f1
Create P19_2.C
Nimratkaur Nov 16, 2019
500a00f
Create P19_3.c
Nimratkaur Nov 16, 2019
bd6b192
Create P20.c
Nimratkaur Nov 16, 2019
b1f34bb
Create P21.c
Nimratkaur Nov 16, 2019
22a9d0d
Create P22.c
Nimratkaur Nov 16, 2019
e6f664a
Create P23.c
Nimratkaur Nov 16, 2019
ec82b31
Create P24.c
Nimratkaur Nov 16, 2019
1f3e8c1
Create P25.c
Nimratkaur Nov 16, 2019
28c0988
Create P26.c
Nimratkaur Nov 16, 2019
99e8fe0
Create P26-1.c
Nimratkaur Nov 16, 2019
a05a9df
Create P27-1.c
Nimratkaur Nov 16, 2019
1e39e37
Create P27-.c
Nimratkaur Nov 16, 2019
46114b9
Create P28-1.c
Nimratkaur Nov 16, 2019
7b184f4
Create P28-2.C
Nimratkaur Nov 16, 2019
e3b014b
Create P29.c
Nimratkaur Nov 16, 2019
39365e1
Create P30.c
Nimratkaur Nov 16, 2019
47d1e6b
Create P31.c
Nimratkaur Nov 16, 2019
666248d
Create P32.c
Nimratkaur Nov 16, 2019
bb5f244
Create P33.c
Nimratkaur Nov 16, 2019
4950c16
Create P34.C
Nimratkaur Nov 16, 2019
89a85d0
Create P35.c
Nimratkaur Nov 16, 2019
1dba3ed
Create p8.c
Nimratkaur Nov 16, 2019
66bfaa3
Add files via upload
Nimratkaur Nov 16, 2019
ce1be15
Add files via upload
manrajsidhu Nov 19, 2019
eed16f7
PPS 1915346
rishabmehndiratta Nov 19, 2019
b2677e7
PPS Practical 1915346
rishabmehndiratta Nov 19, 2019
f776d3a
Update Readme.md
rishabmehndiratta Nov 19, 2019
c0d03ec
Rename README.md to PPSasg.md
Payal508 Nov 19, 2019
7c8ca01
Create MuskanPPS.md
muskan-dhiman Nov 19, 2019
24ce982
Delete 1915328-konarklohat.md
muskan-dhiman Nov 19, 2019
e7c472a
Delete PPS.md
muskan-dhiman Nov 19, 2019
3bd95d6
Add files via upload
Japneet01 Nov 20, 2019
418a43c
PPS MD File
piatangri Nov 25, 2019
d2a55ef
Rename Untitled.md to MDFile.md
piatangri Nov 25, 2019
c2b10f4
Delete MDFile.md
piatangri Nov 25, 2019
1ca327d
PPS MD File 1915340
piatangri Nov 25, 2019
bd94f1d
Rename Untitled (1).md to PPS MD File.md
piatangri Nov 25, 2019
b134c5e
Add files via upload
amanpreet1915302 Nov 27, 2019
4a41d95
Merge pull request #15 from Japneet01/master
goldendeepkaur Nov 29, 2019
e27aaa5
Merge pull request #20 from amanpreet1915302/master
goldendeepkaur Nov 29, 2019
5ea99d7
Merge pull request #18 from piatangri/master
goldendeepkaur Nov 29, 2019
02cd603
Add files via upload
Komalpreetsingh1729 Nov 29, 2019
fc39bb3
Create 1915359.md
ashishrdx4 Nov 29, 2019
a131937
Create 1915366.md
yogita1147 Nov 29, 2019
c8fe2ae
Readme file of Devansh Dhiman(CRN : 1915307)
Nov 29, 2019
3c9db84
Readme file of Jahnavi Singh ( CRN:1915322 )
jahnaviisingh Nov 29, 2019
f0e10ad
Add files via upload
Kajukomal Nov 29, 2019
a9dcea8
Add files via upload
gurleenkaurbirdi Nov 29, 2019
29e5ef2
Readme file of Rahul Kumar(CRN: 1915344)
Rahul-Kumar15 Nov 29, 2019
2e8d374
Update README.md
Nimratkaur Nov 29, 2019
8d347d6
Rename README.md to Nimrat1915336.md
Nimratkaur Nov 29, 2019
02919a6
Delete Nimrat1915336.md
Nimratkaur Nov 29, 2019
1a13886
PPS Assignment
gurleenkaurbirdi Nov 29, 2019
bd1ff6d
Create images
gurleenkaurbirdi Nov 29, 2019
8c3a9d7
Delete images
gurleenkaurbirdi Nov 29, 2019
2e97458
PPS MD File
gurleenkaurbirdi Nov 29, 2019
a9b2b78
Delete Gurleenkaur.md
gurleenkaurbirdi Nov 29, 2019
10b1d1e
Add files via upload
khushboo1915325 Nov 29, 2019
525a37e
Add files via upload
hardev1010 Nov 29, 2019
2019bdd
Merge pull request #1 from hardev1010/hardev1010-patch-1
hardev1010 Nov 29, 2019
8cce1f4
Add files via upload
hardev1010 Nov 29, 2019
fc4f67d
Add files via upload
khushboo1915325 Nov 29, 2019
ed23ad9
Add files via upload
khushboo1915325 Nov 29, 2019
7ef9063
Add files via upload
khushboo1915325 Nov 30, 2019
29c5c0b
PPS (1).html
khushboo1915325 Nov 30, 2019
731033e
Add files via upload
khushboo1915325 Nov 30, 2019
ec7d512
Add files via upload
khushboo1915325 Nov 30, 2019
7261e16
Add files via upload
hemangi958 Dec 3, 2019
299e7da
Update PPS.md
hemangi958 Dec 3, 2019
bd4a154
Delete 1.PNG
hemangi958 Dec 3, 2019
3751fce
Add files via upload
hemangi958 Dec 3, 2019
e4add5d
Update PPS.md
hemangi958 Dec 3, 2019
50e9d60
Add files via upload
iqbalsingh1590 Dec 3, 2019
11a2589
Update PPS.md
hemangi958 Dec 3, 2019
3d18b54
Merge pull request #41 from iqbalsingh1590/master
goldendeepkaur Dec 5, 2019
0f0ace0
Merge pull request #40 from hemangi958/master
goldendeepkaur Dec 5, 2019
70dcf4d
Merge pull request #39 from hardev1010/master
goldendeepkaur Dec 5, 2019
c6f4604
Merge pull request #38 from khushboo1915325/master
goldendeepkaur Dec 5, 2019
34866fa
Merge pull request #37 from Nimratkaur/master
goldendeepkaur Dec 5, 2019
8047936
Merge pull request #35 from Rahul-Kumar15/patch-1
goldendeepkaur Dec 5, 2019
e5e39e6
Merge pull request #34 from gurleenkaurbirdi/master
goldendeepkaur Dec 5, 2019
3a55425
Merge pull request #33 from Kajukomal/master
goldendeepkaur Dec 5, 2019
bce7602
Merge pull request #29 from 1915322/patch-2
goldendeepkaur Dec 5, 2019
90d2f4c
Merge pull request #28 from devanshdhiman77/patch-3
goldendeepkaur Dec 5, 2019
2c89b0d
Merge pull request #26 from yogita1147/patch-1
goldendeepkaur Dec 5, 2019
356989d
Merge pull request #25 from ashishrdx4/patch-1
goldendeepkaur Dec 5, 2019
0d077c8
Merge pull request #22 from Komalpreetsingh1729/master
goldendeepkaur Dec 5, 2019
b423463
Merge pull request #14 from muskan-dhiman/master
goldendeepkaur Dec 5, 2019
94ee60d
Merge pull request #13 from Payal508/master
goldendeepkaur Dec 5, 2019
f2e0841
Merge pull request #12 from rishabmehndiratta/master
goldendeepkaur Dec 5, 2019
1cb9c3f
Merge pull request #11 from manrajsidhu/master
goldendeepkaur Dec 5, 2019
5fee3c7
Add files via upload
MOKSH-SOOD Dec 8, 2019
fcddb38
Merge pull request #43 from MOKSH-SOOD/master
goldendeepkaur Dec 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,399 changes: 1,399 additions & 0 deletions 1915302.md

Large diffs are not rendered by default.

1,399 changes: 1,399 additions & 0 deletions 1915307.md

Large diffs are not rendered by default.

Binary file added 1915313/image/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/17.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/18.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/19i.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/19ii.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/21.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/22.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/23.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/24.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/25.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/26i.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/26ii.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/27i.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/27ii.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/28.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/29.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1915313/image/30i.jpg
Binary file added 1915313/image/30ii.jpg
Binary file added 1915313/image/31.jpg
Binary file added 1915313/image/32.jpg
Binary file added 1915313/image/33.jpg
Binary file added 1915313/image/35i.jpg
Binary file added 1915313/image/35ii.jpg
Binary file added 1915313/image/4.jpg
Binary file added 1915313/image/5.jpg
Binary file added 1915313/image/6.jpg
Binary file added 1915313/image/7.jpg
Binary file added 1915313/image/8.jpg
Binary file added 1915313/image/9.jpg
1,237 changes: 1,237 additions & 0 deletions 1915315.md

Large diffs are not rendered by default.

1,085 changes: 1,085 additions & 0 deletions 1915316.md

Large diffs are not rendered by default.

5,440 changes: 5,440 additions & 0 deletions 1915320 pps.md

Large diffs are not rendered by default.

1,403 changes: 1,403 additions & 0 deletions 1915322.md

Large diffs are not rendered by default.

1,331 changes: 1,331 additions & 0 deletions 1915323.md

Large diffs are not rendered by default.

1,451 changes: 1,451 additions & 0 deletions 1915326.md

Large diffs are not rendered by default.

793 changes: 793 additions & 0 deletions 1915327.md

Large diffs are not rendered by default.

1,430 changes: 1,430 additions & 0 deletions 1915330 PPS PRACTICAL FILE.md

Large diffs are not rendered by default.

Binary file added 1915332-master/Images/02.jpg
Binary file added 1915332-master/Images/03.jpg
Binary file added 1915332-master/Images/04.jpg
Binary file added 1915332-master/Images/05.jpg
Binary file added 1915332-master/Images/06.jpg
Binary file added 1915332-master/Images/07.jpg
Binary file added 1915332-master/Images/08.jpg
Binary file added 1915332-master/Images/09.jpg
Binary file added 1915332-master/Images/1.png
Binary file added 1915332-master/Images/10.jpg
Binary file added 1915332-master/Images/11.jpg
Binary file added 1915332-master/Images/12.jpg
Binary file added 1915332-master/Images/13.jpg
Binary file added 1915332-master/Images/14.jpg
Binary file added 1915332-master/Images/15.jpg
Binary file added 1915332-master/Images/16.jpg
Binary file added 1915332-master/Images/17.jpg
Binary file added 1915332-master/Images/18.jpg
Binary file added 1915332-master/Images/19a.jpg
Binary file added 1915332-master/Images/19b.jpg
Binary file added 1915332-master/Images/19c.jpg
Binary file added 1915332-master/Images/20.jpg
Binary file added 1915332-master/Images/21.jpg
Binary file added 1915332-master/Images/22.jpg
Binary file added 1915332-master/Images/23.jpg
Binary file added 1915332-master/Images/24.jpg
Binary file added 1915332-master/Images/25.jpg
Binary file added 1915332-master/Images/26.jpg
Binary file added 1915332-master/Images/26b.jpg
Binary file added 1915332-master/Images/27a.jpg
Binary file added 1915332-master/Images/27b.jpg
Binary file added 1915332-master/Images/28a.jpg
Binary file added 1915332-master/Images/28b.jpg
Binary file added 1915332-master/Images/29.jpg
Binary file added 1915332-master/Images/30a.jpg
Binary file added 1915332-master/Images/30b.jpg
Binary file added 1915332-master/Images/31.jpg
Binary file added 1915332-master/Images/32.jpg
Binary file added 1915332-master/Images/32_cont.jpg
Binary file added 1915332-master/Images/33.jpg
Binary file added 1915332-master/Images/34.jpg
Binary file added 1915332-master/Images/35.jpg
91 changes: 46 additions & 45 deletions 1915328-konarklohat.md → 1915332-master/PPSmoksh1915332.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

![College Logo](https://www.gndec.ac.in/logo.png)

# **Programming for Problem Solving**
## **Name:- Konark Lohat**
## **CRN:-1915328**
## **Name:- MOKSH SOOD**
## **CRN:-1915332**
## **Branch:- CSE-C1**
## **Submitted To:- Ms. Goldendeep Kaur**
---
Expand All @@ -13,12 +14,12 @@
int main()
{
puts("~~~~~~~~~~~~~~~~~~~~~~~~~");
puts("My name is Konark Lohat");
puts("My name is MOKSH SOOD");
puts("~~~~~~~~~~~~~~~~~~~~~~~~~");
return 0;
}
```
![1.jpg](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/01.JPG)
![1.jpg](1.png)
### 2) To print College address.
```C
#include<stdio.h>
Expand All @@ -28,7 +29,7 @@ int main()
return 0;
}
```
![2.jpg](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/02.JPG)
![2.jpg](02.jpg)
### 3) Program to add two integers.
```C
#include<stdio.h>
Expand All @@ -44,7 +45,7 @@ int main()
return 0;
}
```
![3.jpg](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/03.JPG)
![3.jpg](03.jpg)
### 4) Program to find quotient and remainder.
```C
#include<stdio.h>
Expand All @@ -62,7 +63,7 @@ int main()
return 0;
}
```
![4.jpg](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/04.JPG)
![4.jpg](04.jpg)
### 5) Program to swap two variables without 3rd variable.
```C
#include<stdio.h>
Expand All @@ -81,7 +82,7 @@ int main()
return 0;
}
```
![5.jpg](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/05.JPG)
![5.jpg](05.jpg)
### 6) Program to check even odd number.
```C
#include<stdio.h>
Expand All @@ -97,7 +98,7 @@ int main()
return 0;
}
```
![6.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/06.JPG)
![6.png](06.jpg)
### 7) Finding greteast of two numbers.
```C
#include<stdio.h>
Expand All @@ -115,7 +116,7 @@ int main()
return 0;
}
```
![7.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/07.JPG)
![7.png](06.jpg)
### 8) Find greatest of three number .
```C
#include<stdio.h>
Expand Down Expand Up @@ -147,7 +148,7 @@ int main()

}
```
![8.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/08.JPG)
![8.png](08.jpg)
### 9) Program to assign grade to student according to percentage.
```C
#include<stdio.h>
Expand Down Expand Up @@ -189,7 +190,7 @@ int main()
return 0;
}
```
![9.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/09.JPG)
![9.png](09.jpg)
### 10) Program to print roots of quadratic equation.
```C
#include<stdio.h>
Expand All @@ -210,7 +211,7 @@ int main()
return 0;
}
```
![10.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/10.JPG)
![10.png](10.jpg)
### 11) Program to check year is leap or not.
```C
#include<stdio.h>
Expand All @@ -226,7 +227,7 @@ int main()
return 0;
}
```
![11.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/11.JPG)
![11.png](11.jpg)
### 12) Program to print table of 5.
```C
#include<stdio.h>
Expand All @@ -242,7 +243,7 @@ int main()
return 0;
}
```
![12.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/12.JPG)
![12.png](12.jpg)
### 13) To make simple calculator using switch case.
```C
#include<stdio.h>
Expand Down Expand Up @@ -275,7 +276,7 @@ int main()
return 0;
}
```
![13.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/13.JPG)
![13.png](13.jpg)
### 14) To calculate reverse of a number.
```C
#include<stdio.h>
Expand All @@ -294,7 +295,7 @@ int main()
return 0;
}
```
![14.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/14.JPG)
![14.png](14.jpg)
### 15) To check whether number is palindrome or not.
```C
#include<stdio.h>
Expand All @@ -317,7 +318,7 @@ int main()
return 0;
}
```
![15.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/15.JPG)
![15.png](15.jpg)
### 16) To check whether a number is prime or not.
```C
#include<stdio.h>
Expand All @@ -344,7 +345,7 @@ int main()
}
}
```
![16.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/16.JPG)
![16.png](16.jpg)
### 17) Program to print prime numbers from 1 to 100.
```C
#include <stdio.h>
Expand Down Expand Up @@ -373,7 +374,7 @@ int main()
return 0;
}
```
![17.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/17.JPG)
![17.png](17.jpg)
### 18) Program to check whether a number is armstrong or not.
```C
#include<stdio.h>
Expand All @@ -397,7 +398,7 @@ int main()
}

```
![18.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/18.JPG)
![18.png](18.jpg)
### 19) Print the following patterns:
### i) Pattern 1.
```C
Expand All @@ -416,7 +417,7 @@ int main()
return 0;
}
```
![19_1.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/19a.JPG)
![19_1.png](19a.jpg)

### ii) Pattern 2.
```C
Expand All @@ -435,7 +436,7 @@ int main()
return 0;
}
```
![19_2.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/19b.JPG)
![19_2.png](19b.jpg)

### iii) Pattern 3.
```C
Expand All @@ -462,7 +463,7 @@ int main()
return 0;
}
```
![19_3.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/19c.JPG)
![19_3.png](19c.jpg)
### 20) Program to find largest from 1 dimensional array.
```C
#include<stdio.h>
Expand All @@ -483,7 +484,7 @@ int main()
return 0;
}
```
![20.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/20.JPG)
![20.png](20.jpg)

### 21) To find sumof the N natural numbers in an array.
```C
Expand All @@ -506,7 +507,7 @@ int main()
return 0;
}
```
![21.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/21.JPG)
![21.png](21.jpg)

### 22) Program to add two matrices .
```C
Expand Down Expand Up @@ -540,7 +541,7 @@ int main()
return 0;
}
```
![22.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/22.JPG)
![22.png](22.jpg)
### 23) Program to multiply two matrices .
```C
#include<stdio.h>
Expand Down Expand Up @@ -576,7 +577,7 @@ int main()
return 0;
}
```
![23.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/23.JPG)
![23.png](23.jpg)
### 24) Program to check whether a string is palindrome or not .
```C
#include<stdio.h>
Expand All @@ -601,7 +602,7 @@ int main()
return 0;
}
```
![24.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/24.JPG)
![24.png](24.jpg)
### 25) Programs to perform basic operations like length of string, string concatenation, sting copy, string compare and string reverse.
```C
#include<stdio.h>
Expand All @@ -624,7 +625,7 @@ int main()
return 0;
}
```
![25.jpg](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/25.JPG)
![25.jpg](25.jpg)
### 26) Programs to swap two numbers using call by value and call by refernce.

### Call by reference
Expand Down Expand Up @@ -659,7 +660,7 @@ void swap(int *a, int *b)
*a = temp;
}
```
![26_1.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/26.JPG)
![26_1.png](26.jpg)
### call by value:-
```C
/* Call by value */
Expand Down Expand Up @@ -693,7 +694,7 @@ void swap(int a, int b) {
printf("Values of a and b is %d %d\n",a,b);
}
```
![26_2.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/26b.JPG)
![26_2.png](20b.jpg)

### 27) Program to calculate factorial of a number with and without recursion both.
```C
Expand All @@ -717,7 +718,7 @@ long long int factorial(long long int x)
return 1;
}
```
![27_1.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/27a.JPG)
![27_1.png](27a.jpg)

```C
#include<stdio.h>
Expand All @@ -734,7 +735,7 @@ int main()
return 0;
}
```
![27_2.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/27b.JPG)
![27_2.png](27b.jpg)

### 28) Program to print fibonacci series with and without recursion both.
```C
Expand All @@ -761,7 +762,7 @@ int fib(int j)
return (fib(j-1) + fib(j-2));
}
```
![28_1.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/28a.JPG)
![28_1.png](28a.jpg)
```C
#include<stdio.h>
int main()
Expand All @@ -776,7 +777,7 @@ int main()
}
}
```
![28_2.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/28b.JPG)
![28_2.png](28b.jpg)

### 29) Program to calculate average of 5 numbers using function.
```C
Expand All @@ -795,7 +796,7 @@ int average(int a, int b, int c, int d, int e)
return ((a+b+c+d+e)/5);
}
```
![29.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/29.JPG)
![29.png](29.jpg)
### 30) Program to implement linear serach and binary.

### Linear Search Program
Expand Down Expand Up @@ -825,7 +826,7 @@ int main()
return 0;
}
```
![30_1.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/30a.JPG)
![30_1.png](30a.jpg)
### Binary Search Program
```C
#include<stdio.h>
Expand Down Expand Up @@ -864,7 +865,7 @@ int main()
}
```

![30_2.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/30b.JPG)
![30_2.png](30b.jpg)

### 31) Program to implement bubble sort.
```C
Expand Down Expand Up @@ -903,7 +904,7 @@ int main()
return 0;
}
```
![31.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/31.JPG)
![31.png](31.jpg)
### 32) Program to store information of 10 students using array of structures.
```C
#include<stdio.h>
Expand Down Expand Up @@ -946,8 +947,8 @@ int main()
return 0;
}
```
![32_1.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/32.JPG)
![32_2.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/32_cont.JPG)
![32_1.png](32.jpg)
![32_2.png](32_cont.jpg)
### 33) Programs to compute the transpose of a matrix.
```C
#include<stdio.h>
Expand All @@ -972,7 +973,7 @@ int main()
return 0;
}
```
![33.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/33.JPG)
![33.png](33.jpg)
### 34) Program to print the address of variable using pointer.
```C
#include <stdio.h>
Expand All @@ -995,7 +996,7 @@ int main() {
return 0;
}
```
![34.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/34.JPG)
![34.png](34.jpg)
### 35) Program to access array using pointer.
```C
int main()
Expand All @@ -1010,4 +1011,4 @@ int main()
return 0;
}
```
![35.png](https://github.com/LastComrade/PPS_Programs/blob/master/PPS%20Programs%20MD%20File/35.JPG)
![35.png](35.jpg)
Loading