SHARE
TWEET

Untitled

a guest Nov 15th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main (){
  4.     int a, b, max;
  5.  
  6.     printf("Entrez la premiere valeur a :\n");
  7.     scanf("%d", &a);
  8.     printf("Entrez la seconde valeur b:\n");
  9.     scanf("%d", &b);
  10.     if (a>b){
  11.         printf("La variable a est la plus grande ");
  12.     }
  13.     else{
  14.         if (a<b){
  15.             printf("La variable b est la plus grande");
  16.         }
  17.             else{
  18.                 printf("Les variables a et b sont egales");
  19.             }
  20.            
  21.     }  
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top