Skip to content

Instantly share code, notes, and snippets.

View abouolia's full-sized avatar
🤠

Ahmed Bouhuolia abouolia

🤠
View GitHub Profile
@abouolia
abouolia / gist:a50603b3d94dd4060e1a
Last active August 29, 2015 14:02
Upper/Lower Case in C
#include<stdio.h>
#include<string.h>
#include<ctype.h>
char *uppercase( char str[256] );
char *lowercase( char str[256] );
main(){
char str[256] = "";
@abouolia
abouolia / gist:c40e5b4aa8b942a36db0
Last active August 29, 2015 14:02
Transport the matrix 4*2
#include<stdio.h>
#include<string.h>
//Created By Ahmed Bouhuolia
main(){
int n, m, i, j, matrix[256][256], transport[256][256];
printf("Enter the number of rows and columns of the matrix ");
scanf("%d %d", &n, &m);
@abouolia
abouolia / gist:aea1f0b93e5056e08422
Last active August 29, 2015 14:02
Detrimental of center trig and sub trig of any matrix
#include<stdio.h>
//Created By Ahmed Bouhuolia
main(){
int i, j, n, m, matrix[256][256], sum;
printf("Enter the number of rows and columns of the matrix ");
scanf("%d %d", &n, &m);
printf("Enter the elements of the matrix %d*%d ", n, m);