Answer Posted / mokhtar
all your answers are wrong, guys, for example when you get the reminder of 2/10, it gives you 0, because all of you used int as a data type.
so I think the the method is right, but the implementation is wrong.
regards.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
write a program in c language to print your bio-data on the screen by using functions.
Explain how can you be sure that a program follows the ansi c standard?
How do I use void main?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is the purpose of void pointer?
List the difference between a "copy constructor" and a "assignment operator"?
Explain how can I write functions that take a variable number of arguments?
What is the most efficient way to count the number of bits which are set in an integer?
What is a static function in c?
How a string is stored in c?
What are the different types of control structures in programming?
When is a void pointer used?