During the IPL Match between CSK and MI, as a part of IPL contest the question was asked to the fans.Who are all giving the correct answer to that question will get the free VIP box ticket for the Final for which CSK have already qualified .The question is convert given integer number to octal and hexadecimal number respectively.Abilash is an die heart CSK fan. Can you help him answer the question so that he can watch CSK play the final from VIP box?
#include <stdio.h>
int main()
{int iplno;
scanf("%d",&iplno);
printf("%o\n%x",iplno,iplno);
return 0;}
Comments
Post a Comment