fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. char c;
  7. int i1;
  8. float f1;
  9. scanf("%d",&i1);
  10. printf("mady stu.no.is 17%d (Dec.%d)=(Oct.%o)=(Hex.%x)",i1,i1,i1);
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 4552KB
stdin
46
stdout
mady stu.no.is 1746 (Dec.46)=(Oct.56)=(Hex.0)