mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #322] [CLOSED] Changed main c #650
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/322
Author: @shamilthomas8
Created: 10/3/2019
Status: ❌ Closed
Base:
fixed_Prime← Head:changed_main_C📝 Commits (10+)
7668d1cAdded some header files and changed the min() function2cde480Merge pull request #125 from TheAlgorithms/changed_fibonacciSearch2b8fab4Delete fibonacciSearch.obe23563Delete fibonacciSearch97f8c4aCreate sudokusolver.ca719445Update README.md48797a5Merge pull request #128 from anujms1999/patch-2d2d829dCreate demonetization.c19f08b4Merge pull request #130 from TheAlgorithms/fixed_Primea2706e5Merge 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;
}
}
}
}
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.