[PR #322] [CLOSED] Changed main c #650

Open
opened 2026-01-29 15:14:22 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/322
Author: @shamilthomas8
Created: 10/3/2019
Status: Closed

Base: fixed_PrimeHead: changed_main_C


📝 Commits (10+)

  • 7668d1c Added some header files and changed the min() function
  • 2cde480 Merge pull request #125 from TheAlgorithms/changed_fibonacciSearch
  • 2b8fab4 Delete fibonacciSearch.o
  • be23563 Delete fibonacciSearch
  • 97f8c4a Create sudokusolver.c
  • a719445 Update README.md
  • 48797a5 Merge pull request #128 from anujms1999/patch-2
  • d2d829d Create demonetization.c
  • 19f08b4 Merge pull request #130 from TheAlgorithms/fixed_Prime
  • a2706e5 Merge pull request #129 from ashusrma/patch-1

📊 Changes

85 files changed (+777 additions, -1446 deletions)

View changed files

CodingGuidelines.md (+19 -0)
Computer Oriented Statistical Methods/Simpson's_1-3rd_rule.c (+0 -34)
Computer Oriented Statistical Methods/statistic/README.md (+0 -116)
Computer Oriented Statistical Methods/statistic/src/statistic.c (+0 -400)
Computer Oriented Statistical Methods/statistic/src/statistic.h (+0 -79)
Computer Oriented Statistical Methods/statistic/test/test.c (+0 -190)
Conversions/decimal _to_binary.c (+0 -66)
Data Structures/stack/main.c (+0 -98)
📝 README.md (+5 -3)
Sorts/BubbleSort.c (+0 -40)
Sorts/HeapSort.c (+0 -62)
Sorts/InsertionSort.c (+0 -35)
Sorts/SelectionSort.c (+0 -89)
computer-oriented-statistical-methods/simpson's 1-3rd rule.c (+0 -34)
📝 computer_oriented_statistical_methods/Gauss_Elimination.c (+0 -0)
📝 computer_oriented_statistical_methods/MEAN.C (+0 -0)
📝 computer_oriented_statistical_methods/MEDIAN.C (+0 -0)
📝 computer_oriented_statistical_methods/Seidal.C (+0 -0)
📝 computer_oriented_statistical_methods/lagrange_theorem.C (+0 -0)
computer_oriented_statistical_methods/simpson's 1-3rd rule.c (+41 -0)

...and 65 more files

📄 Description

#include<stdio.h>
void main(){
int n,a[50],i,j,temp;
printf("enter limit:");
scanf("%d",&n);
printf("enter elements:\n");
for(i=0;i<n;i++){
scanf("%d",&a[i]);
}
for(i=0;i<n;i++){
for(j=0;j<n-i-1;j++){
if(a[j]>a[j+1]){
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
}

   for(i=0;i<n;i++)
    printf("%d\n",a[i]);

}


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/322 **Author:** [@shamilthomas8](https://github.com/shamilthomas8) **Created:** 10/3/2019 **Status:** ❌ Closed **Base:** `fixed_Prime` ← **Head:** `changed_main_C` --- ### 📝 Commits (10+) - [`7668d1c`](https://github.com/TheAlgorithms/C/commit/7668d1c4192d23b305f611df9ce2aed2d5be50c4) Added some header files and changed the min() function - [`2cde480`](https://github.com/TheAlgorithms/C/commit/2cde480daef4f075ee5a05a6f507f4f6c11b718e) Merge pull request #125 from TheAlgorithms/changed_fibonacciSearch - [`2b8fab4`](https://github.com/TheAlgorithms/C/commit/2b8fab4c1d17ace3f668b7d6179bcf4658dc0569) Delete fibonacciSearch.o - [`be23563`](https://github.com/TheAlgorithms/C/commit/be23563615e270803850ac13430679e2ab738021) Delete fibonacciSearch - [`97f8c4a`](https://github.com/TheAlgorithms/C/commit/97f8c4a782d80f1afb0a7a0881b11c98968ae57f) Create sudokusolver.c - [`a719445`](https://github.com/TheAlgorithms/C/commit/a719445fb538acfb5103cb7c1a25c0567dc24674) Update README.md - [`48797a5`](https://github.com/TheAlgorithms/C/commit/48797a58d7946a43ecfd8d4d1b61943334763e72) Merge pull request #128 from anujms1999/patch-2 - [`d2d829d`](https://github.com/TheAlgorithms/C/commit/d2d829db0488c7a80b9cfa0550e871fd43adf347) Create demonetization.c - [`19f08b4`](https://github.com/TheAlgorithms/C/commit/19f08b448a6b519ab012c1d544c88c3d9baca36b) Merge pull request #130 from TheAlgorithms/fixed_Prime - [`a2706e5`](https://github.com/TheAlgorithms/C/commit/a2706e5463f1a13c31cf36152a4afb29498fa358) Merge pull request #129 from ashusrma/patch-1 ### 📊 Changes **85 files changed** (+777 additions, -1446 deletions) <details> <summary>View changed files</summary> ➕ `CodingGuidelines.md` (+19 -0) ➖ `Computer Oriented Statistical Methods/Simpson's_1-3rd_rule.c` (+0 -34) ➖ `Computer Oriented Statistical Methods/statistic/README.md` (+0 -116) ➖ `Computer Oriented Statistical Methods/statistic/src/statistic.c` (+0 -400) ➖ `Computer Oriented Statistical Methods/statistic/src/statistic.h` (+0 -79) ➖ `Computer Oriented Statistical Methods/statistic/test/test.c` (+0 -190) ➖ `Conversions/decimal _to_binary.c` (+0 -66) ➖ `Data Structures/stack/main.c` (+0 -98) 📝 `README.md` (+5 -3) ➖ `Sorts/BubbleSort.c` (+0 -40) ➖ `Sorts/HeapSort.c` (+0 -62) ➖ `Sorts/InsertionSort.c` (+0 -35) ➖ `Sorts/SelectionSort.c` (+0 -89) ➖ `computer-oriented-statistical-methods/simpson's 1-3rd rule.c` (+0 -34) 📝 `computer_oriented_statistical_methods/Gauss_Elimination.c` (+0 -0) 📝 `computer_oriented_statistical_methods/MEAN.C` (+0 -0) 📝 `computer_oriented_statistical_methods/MEDIAN.C` (+0 -0) 📝 `computer_oriented_statistical_methods/Seidal.C` (+0 -0) 📝 `computer_oriented_statistical_methods/lagrange_theorem.C` (+0 -0) ➕ `computer_oriented_statistical_methods/simpson's 1-3rd rule.c` (+41 -0) _...and 65 more files_ </details> ### 📄 Description #include<stdio.h> void main(){ int n,a[50],i,j,temp; printf("enter limit:"); scanf("%d",&n); printf("enter elements:\n"); for(i=0;i<n;i++){ scanf("%d",&a[i]); } for(i=0;i<n;i++){ for(j=0;j<n-i-1;j++){ if(a[j]>a[j+1]){ temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } for(i=0;i<n;i++) printf("%d\n",a[i]); } --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:14:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#650