How can i write a code in c# to take a number from the user
and then find all the prime numbers till the number entered
by the user.
Answer Posted / anjali
while(num>0)
{
if(num%2==1)
printf("num is prime value");
}
Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
What is the difference between inheritance and polymorphism?
Which language is not a true object oriented programming language?
Can destructor be overloaded?
write a programe to calculate the simple intrest and compund intrest using by function overlading
Explain virtual inheritance?
What is interface in oop?
What are benefits of oop?
What is the use of oops?
What is inheritance in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What are two types of polymorphism?
What is static modifier?
What is the difference between procedural programming and oops?
What is inheritance in simple words?
What is data binding in oops?