R

@rayen

EX5

PHP
6 hours ago
<?php echo "EX1:\n"; $age = 18; if($age<18){ echo "You are a minor.\n"; } else{ echo "You are an adult.\n"; } echo "EX2:\n";

EX4

PHP
6 hours ago
<?php echo "EX1:"; echo "\n"; $a=15; $b=4; echo $a+$b; echo "\n"; echo $a-$b; echo "\n"; echo $a*$b;

EX3

PHP
15 hours ago
<?php echo "EX1:\n"; $name="rayen"; $age=16; $price=15.00; $isAdmin=true; $email=null; var_dump($name); var_dump($age); var_dump($price);

EX2

PHP
16 hours ago
<?php $name="rayen"; $age=16; $country="tunisia"; $favoritegame="football"; echo "hello,my name is ".$name." .i m ".$age." years old.i live in ".$country." and my favorite game is ".$favoritegame;

EX1

PHP
16 hours ago
<?php echo "EX1:\n"; echo "hello \n"; echo "hello\n"; echo "EX2:\n"; echo 10+5; echo "\n"; echo "EX3:\n"; echo "100\n"; echo "200\n";

العدّ بنظام الأساس36

C++
10 months ago
#include <iostream> #include <vector> using namespace std; const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; // أساس 36 // تحويل رقم إلى كلمة مرور بطول معين string numberToPassword(long long num, int length) { string pass(length, 'A

TARTIB

C++
10 months ago
#include <iostream> #include <vector> using namespace std; const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; // توليد جميع الكلمات بالترتيب bool generatePasswords(string &target, int length, string current, long long &attempts) { if

3ACHWAII

C++
10 months ago
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; string generatePassword(int minLen, int maxLen) { const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; int length = minLen + (rand() % (maxLen - minLen + 1

cod ff 2

C++
10 months ago
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; string generatePassword(int minLen, int maxLen) { const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; int length = minLen + (rand() % (maxLen - minLen + 1

cod ff

C++
10 months ago
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; string generatePassword(int length) { const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; string password = ""; for (int i = 0; i < length; i++) {

projet binaire

C++
11 months ago
#include <iostream> using namespace std; int main() { string ss; cin>>ss; int taille = ss.size(); for(int i=0;i<=(taille-1);i+=1){ if (ss[i]=='a'){ cout<<"01100001,"; }

algoritme 5

C++
11 months ago
#include <iostream> using namespace std; int main() { cout<<"enter your arithmetic process"<<endl; int a,b; char c; cin>>a>>c>>b; if (c=='+'){ cout<<a<<"+"<<b<<"="<<a+b<<endl;

ALGORITME 4

C++
11 months ago
#include <iostream> using namespace std; int main() { cout<<"entrer le nombre de le triangle;"<<endl; double a,b,c; cin>>a>>b>>c; if (a==b or b==c or a==c){ cout<<"triangle isocellle"<<endl; } else {

algoritme 3

C++
11 months ago
#include <iostream> using namespace std; int main() { cout<<"enter number a"<<endl; int a; cin>>a; cout<<"enter a character"<<endl; char c; cin>>c;

algoritme 2

C++
11 months ago
#include <iostream> using namespace std; int main() { cout<<"enter a number pls:"<<endl; double x; cin>>x; if (x<10){ cout<<"x est inferieur a 10"<<endl; }

algoritme 1

C++
11 months ago
#include <iostream> using namespace std; int main() { cout<<"enter ton non,prenon et age:"; string non; string prenon; int age; cin>> non>>prenon>>age; cout<<non<<" "<<prenon<<" "<<age<<endl; int x=age+10;