a number whose only prime factors are 2,3,5, and 7 is call
humble number,,write a program to find and display the nth
element in this sequence..

sample input : 2,3,4,11,12,13, and 100.. sample output : the
2nd humble number is 2,the 3rd humble number is 3,the 4th
humble number is ,the 11th humble number is 12, the 12th
humble number is 14, the 13th humble number is 15, the 100th
humble number is 450.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?

4 Answers   Wipro,


Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


how to introdu5ce my self in serco

0 Answers  


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

0 Answers   Aspire, Infogain,


Does c have an equivalent to pascals with statement?

0 Answers  


Who invented b language?

0 Answers  


main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....

2 Answers  


write a prgram of swapping with 2 valiables

6 Answers  


If input is 123 then how to print 100 and 20 and 3 seperately?

4 Answers  


c program for searching a student details among 10 student details

0 Answers  


Can you please explain the difference between syntax vs logical error?

0 Answers  


Differentiate between a for loop and a while loop? What are it uses?

0 Answers   TISL,


Categories