Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <conio.h>
  2. #include <stdio.h>
  3. void main()
  4. {int num, x, answer;
  5.     for(x=1;0<x;x++)
  6.     {
  7.         printf("please insert number \n");
  8.         scanf("%d", &num);
  9.         printf("please insert hezka \n");
  10.         scanf("%d", &x);
  11.         answer=(num*num)*x;
  12.         printf("the answer is: %d", answer);
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement