Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
648Write a Program to find the sum of digits of a given number until the sum becomes a single digit.
663What output does the following code generate? Why? What output does it generate if you make A::Foo() a pure virtual function? class A { A() { this->Foo(); } virtual void Foo() { cout << "A::Foo()" << endl; } }; class B : public A { B() { this->Foo(); } virtual void Foo() { cout << "A::Foo()" << endl; } }; int main(int, char**) { A objectA; B objectB; return 0; }
861
how to use the GetTickCount() properly and what is that procedure for?
How to print sum of the numbers starting from 1 to 100?
code to detect availability of cookies
What are the benefits of XML?
Is there any way to open notepad within php?
What is well formed XML document?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
how to insert fname,lname,designation values into database while click on the submit button using windows authentication mode?
sample code to auto focusing the first field in a form
Write a function that takes an integer and returns the smallest number that is greater than the given number which is a palendrome. For example, if the input was 111 the next palindromic number would be 121.
What is an attribute?
program for straight line(y=mx+c)
write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.
write a program for area of circumference of shapes