Answer Posted / arpita
p=2, n=5
p!=np
2!=5*2
2!=10
hence prooved.
p=1,n=1
p!=np
1!=1*1
but 1=1
hence disprooved.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
Write a program to print fibonacci series using recursion?
Are pointers really faster than arrays?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What is the purpose of the preprocessor directive error?
Write a program to print fibonacci series without using recursion?
What is queue in c?
What is the size of array float a(10)?
When should the volatile modifier be used?
What is the use of typedef in c?
Explain the concept and use of type void.
What is the use of gets and puts?
What is the difference between %d and %i?
Can one function call another?
What are the 5 types of inheritance in c ++?