Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4.  
  5. int main()
  6. {
  7.  
  8.     int racine_carree;
  9.     int a; // nombre dont on veut la racine carrée
  10.     int k; // nombre de répétitions
  11.  
  12.     {
  13.  
  14.     printf("Entrez le nombre:");
  15.     scanf("%d",sqrt(a));
  16.  
  17.  
  18.     printf("Nombre d'iterations:");
  19.     scanf("%d",k);
  20.  
  21.     }
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement