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 check whether a number is divisible by 5 and 11 or not. Using the switch statement

: Write a java program that simulates a traffic light. The program lets the user select one of three lights: red, yellow, or green with radio buttons. On entering the choice, an appropriate message with “stop” or “ready” or “go” should appear in the console .Initially there is no message shown.


Design a web page using HTML and CSS for a Music store. Add suitable background image.

1. Add links which can take to some description about song.

2. At the bottom mention the links for shopping, store, career and contact details


program to find the sum of even numbers in python


What number sequence will be displayed at the output of the following program?


1 public class Confusing {

2 public static void method2() {

3        method1();

4        System.out.print("2");

5 }

6

7 public static void method3() {

8        method2();

9       System.out.print("3");

10     method1();

11 }

12

13 public static void method1() {

14        System.out.print("1");

15 }

16

17 public static void main(String[] args) {

18        method1();

19        method3();

20        method2();

21        method3();

22 }

23 }


Create a class Teacher(Tid, Tname, Designation, Salary, Subject). Write a Java program to accept the details of ‘n’ teachers and display the details of teacher who is teaching Java Subject.(Use array of Object)


Start with an infinite two dimensional grid filled with zeros, indexed from (1,1) at the bottom left corner with coordinates increasing toward the top and right. Given a series of coordinates (r, c), where ris the ending row and cis the ending column, add 1 to each element in the range from (1,1) to (r, C) inclusive. Once all coordinates are processed, determine how many cells contain the maximal value in the grid. Example upRight = ["14", "23", "4 1"] The two space-separated integers within each string represent rand c respectively. The following diagrams show each iteration starting at zero. The maximal value in the grid is 3, and there is 1 occurrence at cell (1, 1). Initial Grid 40 0 0 0 30 0 0 0 20 0 0 0 1 0 0 0 0 1 2 3 4 Step 0:r=1, c = 4 Step 1: r = 2, c = 3 Step 2:r =4,c= 1 4000 0 4 0 0 0 0 4 100 0 30 000 3000 0 3 1000 2 0 0 0 0 2 1 1 1 0 2 2 1 0 1 1 1 1 1 1 2 2 2 1 1 3 2 2 1 1 2 3 4 1 2 3 4 1 2 3 4

create a java program will concatenate the basic information of the students given the default variables name.



Hi my name is Dew C. Corpuz My Birhtday is on January 1 1997 I am 24 years old One of the student of BSIT

Accept the marked price from the user and calculate the Net amount as(Marked Price – Discount) to pay according to following criteria:


Marked Price - Discount


>10000 20%


>7000 and <=10000 15%


<=7000 10%

write a program that displays the following menu:            

Geometry Calculator

1.     Calculate the Area of a Circle

2.     Calculate the Area of a Rectangle

3.     Calculate the Area of a Triangle

4.     Quit

  • The must be a main function that will display the menu and will ask for user's choice.
  • For each choice 1, 2 and 3, create an appropriate user-defined function for each task.
  • Provide validation for input.


Score will be updated after checking for the following:

  • 40 points deduction if there is no user defined function created at all.
  • 20 points deduction if all user defined function are void functions and no arguments.

Input

1. data

Output

Geometry·Calculator
1.·Calculate·the·Area·of·a·Circle
2.·Calculate·the·Area·of·a·Rectangle
3.·Calculate·the·Area·of·a·Triangle
4.·Quit
Choice:·2
Enter·length:·5
Enter·width:·4
The·area·of·the·rectangle·with·length·5·and·width·4·is·20.
Geometry·Calculator
1.·Calculate·the·Area·of·a·Circle
2.·Calculate·the·Area·of·a·Rectangle
3.·Calculate·the·Area·of·a·Triangle
4.·Quit
Choice:·4
Bye!







LATEST TUTORIALS
APPROVED BY CLIENTS