Write a Program to find the sum of digits of a given number until the sum becomes a single digit.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Code AllOther Interview Questions

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(); } }

0 Answers  


Find out the list of roles which gives access to all t-codes in SAP? Thanks in advance.

0 Answers  


find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.

0 Answers  


I have a file which contains so many lines and variable number of lines are treated as a record. For example *first ooooo xxxxx ttttt mmmm vvvvvvv *end uuu bbbb *first kkkkvvvvvv nnnn mmmmm kkkkk fffff gggg ffff kkkk lllll *end. Here the lines from *first to *end are treated as a record. The number of lines between *first and *end is not same for all the records. Suppose there are 100 records (or number of records are not predefined)like the format given in the above example. Now the entire file needs to split into two files, first having 40 and remaining in the second file. Can we split using sort utility? If possible then what is the sort card?

0 Answers  


Write a Program to find the sum of digits of a given number until the sum becomes a single digit.

0 Answers   InterGraph,


How to find the list of users who have two codes su01 and pfcg? thank in advance all.

0 Answers  


Write a program to Print the Pascal triangle

0 Answers   InterGraph,


what full form name of B.K.U.

0 Answers  


i wrote from two tables (employee and department) 1.select * from employee,department; (it is cartesian product) but 2.select * from employee department; (?????????????????) by default it displays the employee table,what is the reason it is not taking department ??? mail @ mak2786@gmail.com Arunkumar

1 Answers  


can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400.

0 Answers  


How can you print an address of a variable?

0 Answers   TCS,


What is the coding about how to recognize color in fuzzy logic using Matlab R2009b?

0 Answers  


Categories