alx-low_level_programming's People
Forkers
goldokorie cjerry-dev ayotunde13 lighte22 danielbright-create olivfrank joebakid tansieustace kogbas pacificfia adlyzee webdesignfore jermainemofe starprince145 gloryproducer ademez udobeke mickykore idavidparadise manuel34global dominic375 j-kon tunjilawal ssimbeye ibiniyi liceey001 mynanaaisha10 stephenabayomi isaacag1 dhdavies usmanzuleikha alondubuisi oluwatiseunla akinfisoye tangban016 peelife1 jerymiah hyacinth22 karmakazi0 moses68 alicekalu12345 linkshred osobalase jerryigho tchinyongo ej-arthur irxnyy99 adomah20 spesandes benny252308 gevenom crib1212 maradona001 sebinan mydarlingaisha oluwafolayimika fome-ng testimonyemmanuel godsown12 david-aguiyi justice-onyekachi sumayyah62 mustaphamk aishagm ejahvee happyij sollydiran yismaw17 mzwealth1810 lillazzaro olajidesam vezilord niellyn 1lolaola jacinta02 graphley princesmartc sammylistic80 pelugraph atomic-ustadh hadesha86 akposgreatma renovat23 inioluwaafolabi korotoum-coulibaly adeadeyeye 0jevsmack jaysine abubakar-yusuf manasik222 muraina020 thegr8test dangodswill99 1016vic jma85 kevinnsimbe vib175 vexy103 don-cod derek2222alx-low_level_programming's Issues
Lowercase
include<stdio.h>
int main() {
char ch;
printf("\nEnter The Character : ");
scanf("%c", &ch);
if (ch >= 'A' && ch <= 'Z') {
printf("Character is uppercase Letters");
} else if (ch >= 'a' && ch <= 'z') {
printf("Character is Not Lowercase Letters");
} else {
printf("Non alphabet character");
}
return(0);
}
Alphabet 10
#include <stdio.h>
int main(void)
{
char ch = 'a';
while(ch<= 'z')
{
Printf ( '%c', ch)
ch++;
}
return 0;
}
Is alpha
#include <stdio.h>
#include <ctype.h>
int main()
{
char c;
c = 'Q';
printf("\nResult when uppercase alphabet is passed: %d", isalpha(c));
c = 'q';
printf("\nResult when lowercase alphabet is passed: %d", isalpha(c));
c='+';
printf("\nResult when non-alphabetic character is passed: %d", isalpha(c));
return 0;
}
ALX Software engineering
https://github.com/celestin997134/zero_day
0x07-pointers_arrays_strings
julien@ubuntu:~/0x07$ cat 0-main.c
#include "main.h"
#include <stdio.h>
/**
-
simple_print_buffer - prints buffer in hexa
-
@buffer: the address of memory to print
-
@SiZe: the size of the memory to print
-
Return: Nothing.
*/
void simple_print_buffer(char *buffer, unsigned int size)
{
unsigned int i;i = 0; while (i < size) { if (i % 10) { printf(" "); } if (!(i % 10) && i) { printf("\n"); } printf("0x%02x", buffer[i]); i++; } printf("\n");
}
/**
-
main - check the code
-
Return: Always 0.
*/
int main(void)
{
char buffer[98] = {0x00};simple_print_buffer(buffer, 98);
_memset(buffer, 0x01, 95);
printf("-------------------------------------------------\n");
simple_print_buffer(buffer, 98);
return (0);
}
julien@ubuntu:/0x07$ gcc -Wall -pedantic -Werror -Wextra -std=gnu89 0-main.c 0-memset.c -o 0-memset/0x07$ ./0-memset
julien@ubuntu:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x00 0x00 0x00
julien@ubuntu:~/0x07$
Mr
Putchar
#include "holberton.h"
/**
-
main - Entry point
-
Return: Always 0 (Success)
*/
int main(void)
{
char *sh = "Holberton";while (*sh)
{
_putchar(*sh);
sh++;
}
_putchar('\n');return (0);
}
0x01-c -variables
Alphabet
int main(void)
{
print_alphabet();
return (0);
}
Help With Task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.