-
-
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
-
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.
Generate no.between 32 to 99
Consider the following number
45*45=2025 and
20+25=45.
Write a program to generate no.between 32 to 99 that satisfy the above problem.Secure Language
Which Language is more secure - Java or C?
Flow
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...
Functions
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.
2.Rainfall Statistics
Design a program that lets the user enter the total rainfall...Solve this Programming Task in language of preference
TASK 1: Programming Task in language of preference
Imagine a customized computer keyboard with following layout :
ERTYU1
DFGHJ2
CVBNM4
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
the output...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.
Abstract Factory Design Pattern
You may want to consider converting an Abstract Factory skeleton design into a Factory Method. Is this possible, does it make sense and how would you do that?
Use of Continue and Next sentence
When we will use Continue and when we use Next sentence?
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...
Arrays
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.
Career guidance
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.
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
php$str="navin";
$rstr="";
$len=strlen($str);
for($i=$len-1;$i>=0;$i--)
{
$rstr.=$str[$i];
}
echo $rstr;
It work but I want to know why we use .dot(.) $rstr.=$str[$i]; over here thanks in advanceIf else in c++
Hi guys ,
in c++ programming (if) when we use "=" isntead of "==" compiler behave the same ... Do u know why compiler Behave like this ??
TnxWeb 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?
Timer Sharing and Batch Processing
What are the advantages and dis-advantages of real time, timer sharing and batch processing?
Ans