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

create an SINGLE LINKED LISTS and reverse the data in the lists completely

3 Answers  


Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .

4 Answers  


How can I rethow can I return a sequence of random numbers which dont repeat at all?

0 Answers  


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,






What is the difference between functions abs() and fabs()?

0 Answers  


My teacher ask to make a program that can: Insert record in front Insert record at the end Insert in between Search node record Delete record in front Delete record at the end Delete record in between Using Data structure Linked List type. But I'm really confused about the codes and I can't go through. Please help Thanks in advance. Also here is my unfinished code if someone can make changes it will be more good.

1 Answers  


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

0 Answers  


How pointer is benefit for design a data structure algorithm?

2 Answers  


What is #include called?

0 Answers  


what is the difference between embedded c and turbo c ?

1 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


Categories