Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Write a program to pass a string to a function and then to find out its length.


Write a C++ program to find the second and third smallest elements in a given array of

integers


Write a C++ program that takes 20 integer inputs from user and calculates and displays the

following:

 Number of positive numbers

 Number of negative numbers

 Number of odd numbers

 Number of even numbers

 Number of zeros


. Write a C++ program to compare two arrays element wise and create third array store value 1

if equal and 0 if not equal. E.g.

int array1 = [4,5,6,4,3];

int array2 = [4,3,6,3,3];

in this case resultant array should be [1,0,1,0,1]


Write a C++ program to find the least occurring element in an array of integers.


I'm creating an employee pay calculation program and my pop-up box needs to reed Total Pay, but it says microsoft.visualbasic.core. Can anyone help me out that please?


Program that determines the class of the ship depending on its class ID.

Use logical operator

CLASS ID. SHIP CLASS

B or b BATTLESHIP

C or c. CRUISER

D or d. DESTROYER

F or f FRIGATE


Write a program that reads in a number and prints out the letter L using '*' characters

with each line in the L having width n. Further, the length of the horizontal bar should be

4n, and that of the vertical bar (i.e. not including the portion overlapping with the

horizontal bar) should be 3n. Thus for n=3 your program should print


***

***

***

***

***

***

***

***

***

************

************

************



Write a function named len which takes as input a char array of size 255 and returns the length of the actual string in it. (Note: A string ends with ‘\0’ but it is not included in the length calculation.) In the main get a string from the user (fgets) and pass it to len as an argument. Main should then display the string’s length.


 Write a function named upper which takes as input a char array of size 255 and converts it to uppercase. In the main get a string from the user (fgets) and pass it to the upper as an argument. Once the function call is completed, the main should display the modified char array.


LATEST TUTORIALS
APPROVED BY CLIENTS