Print Sum of Digits
Write a function to print sum of the digits in a given integer n without converting it to String. For example : if n = 1234 the function should return 1+2+3+4 = 10 if n = 15 the function should return 1+5 =6 if n = 5 the function should return 5.
Solve this Programming Task in language of preference
TASK 1: Programming Task in language of preference
Imagine a customized computer keyboard with following layout :
The keyboard only has above set of keys in the panel , For a given set on input word you need to output the path taken to press them , for example :
Consider the input word is : RFGM
Adding Interface to Multiple Inheritance in C++ Language
Explain how to add interface class to multiple inheritance in C++ language for example Class C inherited form Class A and Class B, Explain by example.
1.One foot equals 12 inches. Design a function named
feetTolnches that accepts a number of feet as an argument, and returns the number of inches in that many feet. Use the function in a program that prompts the user to enter a number of feet and then displays the number of inches in that many feet.
Design a program that lets the user enter the total rainfall...
Logic and Design
Number Analysis Program
Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data:
• The lowest number in the array
• The highest number in the array
• The total of the numbers in the array
• The average of the numbers in the array
Analysis Number Design Flow chart
Number analysis program design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: the lowest number in the array,the highest number in the array and the total of the numbers in the array...
Design a flow chart for program that displays the number of days in each month. the program should have two parllel arrays 12 element string array that is initialized with the names of the month, and 12 element integer array that is initialized the number of days in each month.
I m doing mca n m in 2nd semester. I want to have an experience abt my job. There are no software companies here, how can I experience abt the jobs related to my field...any kind of internship which I can do while staying here..pls guide me mam.
Number analysis program design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: the lowest number in the arraythe highest number in the array the total of the numbers in the arraythe...
Efficient algorithm to print count and possible string outcomes of a given input string
Write an Efficient algorithm to print count and possible string outcomes of a given input string by retaining order and considering all characters during this process
Problem: given a input string as "0000" and following input scheme for the zeroes, print the possible outcomes by retaining order of the characters. input scheme: a "0" b "00" c "000" d "0000" example: "aaaa" is one string...
Reverse a sting using loop in php
Hi , when I reverse a string using loop in php like
It work but I want to know why we use .dot(.) $rstr.=$str[$i]; over here thanks in advance
Web table is not being recognized..!!
What if there are two web tables in a web page and if add those web tables into OR it is not being added, what will be the solution if we have to work on those web tables then?
Programming Interview Questions
Apr 21st, 2016
Nov 25th, 2014
Feb 20th, 2015
Feb 27th, 2015
Oct 24th, 2015
Mar 31st, 2016
Apr 26th, 2016
Jul 24th, 2014
Oct 3rd, 2012
Feb 3rd, 2016