First commit
This commit is contained in:
23
IUT/Info2/Exercices/6.1.8/main.cpp
Normal file
23
IUT/Info2/Exercices/6.1.8/main.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <iostream>
|
||||
#include "function.h"
|
||||
|
||||
int main() {
|
||||
char c = 'd' + 0x12;
|
||||
std::cout << c;
|
||||
|
||||
char input = 'B';
|
||||
std::cout << ('a' <= input && input <= 'z');
|
||||
|
||||
char a = '3';
|
||||
std::cout << ('0' <= a && a <= '9');
|
||||
|
||||
std::cout << "\n";
|
||||
|
||||
const unsigned int taille_chaine = 20;
|
||||
char chaine[taille_chaine] = "Hello World!";
|
||||
std::cout << chaine << std::endl;
|
||||
|
||||
MintoMaj(chaine);
|
||||
|
||||
std::cout << chaine << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user