fork(14) download
  1. #include <stdio.h>
  2. int main (void) {
  3. int a, c;
  4. printf("Bitte geben Sie eine Zahl ein: ");
  5. scanf("%d",&a);
  6. c = ( a*a );
  7. printf("Das Ergenis ist: %d \n", c);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2116KB
stdin
3
stdout
Bitte geben Sie eine Zahl ein: Das Ergenis ist: 9