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 that prompts the user for the size of an array. The program should then ask the user to enter the numbers into the array. The program should then sort the numbers is ascending order and displays the new sorted numbers



5 Display the following pattern using only 2 lines of code. Use only 1 for loop. This problem will require

the use of the multiplication operator (*) and the variable that keeps track of the number of loop

iterations.


Sample output: *

***

*****

*******

*********

***********

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




Basic Looping Task:

Display sets of "*" based on the user's integer input (0-9).


Example:

Enter a number: 6

******


Write an if-else statement that compares the age variable with the value 65. If age is greater than or equal to 65, add 1 to senior_citizens. Otherwise, add 1 to non_seniors.


Create a function that will accept a person's name and age, address, birthdate, email, if he/she has a job, what is the job title, and put all those data in a dictionary.


Display the pattren


##


# #


# #


# #


# #


# #



Write a program that reads some integers between 1 to 100 and counts the occurance of each.




: Create a python function that will accept 7 numbers with decimal values and wont accept value if it isn't a float value. After accepting the values, determine the number with the highest values among the given, and then return that value for printing.


Number 2 present at index locatios 0,6,9, as the last occurrence, is at index 9. So the output should be 9.




Input: 2 4 5 6 7 8 2 4 5 2 3 8



9

Write an if-else statement for the following:

If userTickets is not equal to 6, execute awardPoints = 10. Else, execute awardPoints = userTickets.

Ex: If userTickets is 14, then awardPoints = 10.


LATEST TUTORIALS
APPROVED BY CLIENTS