472 Answered Questions for the topic programming

03/17/20

What is this answer help me for this C FUNCTIONS answer?

Questions 1:- What does myFunction(5) evaluate to? int myFunction(int n) { int x = n * 2; int y = (x + 1) % 3; return y - x;}Questions 2:- What does g(3,-10) evaluate to? int z = 2 * x - y; return z; more
Programming Html Web Design Css

03/13/20

How do I create a link to a location in a page, when sections are accordion collapsed using CSS?

The page is divided into different categories which can be collapsed (accordion), and using the regular <a href> does not work. That only works when linking to a location in the same section... more

03/13/20

Branching Processes R Code Tree Diagram

Code: 1) Write an R code for a function that simulates a branching process of a Poisson progeny distribution with mean 𝜆 and for number of generations n. 2) Then run the simulations for several... more

Alogorithms basic fundamentals questions please help me?

The numbers in the table below are the result of executing an algorithm that has one parameter N, a non-negative integer, and produces sequences of integers as outputs. For values of N from 0 to 5,... more
Programming

02/27/20

Write a pseudocode to determine the age of customers that would like to ride a roller coaster.

The numbers you will use will be user input. The customers must be over 3 feet tall to ride and no taller than 7 feet tall.
Programming

02/18/20

help me with this homework

 Create the following program by using C# OOP Composition technique. An Album contains 3 songs. Create the class "Album" and the class "Song". Create the an Album object call "nirvanaAlbum" and use... more

02/17/20

Help with Python Programming homework...

In volleyball, there are 5 matches in a game. My daughter’s volleyball league would like a program that will accept the number of points that each team scored in the 5 matches and print out the... more

02/12/20

Does an adjacency matrix need to have equal rows and columns?

If it needs to be the same number of rows and columns, then why? If not, then why not?

02/12/20

Does an adjacency matrix need to have equal rows and columns?

If it needs to the same number of rows and columns, then why? If not, then why not?

02/08/20

Java Programming Question: Intro to Computer Science

I'm working on a project for my computer science class in java and it is a travel agency. In one of the classes, Basket, I need to make an array of objects of type Reservation. But I also have to... more
Programming Computer Programming

01/09/20

Write an access function to locate an element of 2 dimensional array in fortan which uses a column major

to write an access function to find and element of two dimensional array in fortran.
Programming C++

12/02/19

Modify your inventory management system created in below to use vectors and iterators.

//*This program to assist a user to input the inventory information management//into a file that has created from the program itself only once and the data will be saved automatically#include... more
Programming

11/30/19

Char Array Programming. Need to write a c++ programming that can count alphabets in a sentence but not include other characters and space .Alphabets only

Char Array: Write a program that will read in char array of size N. Allow the user to fill in the array.As each component is read, print it only if it is not a duplicate of a character... more

Javascript functions

Write a JavaScript function to calculate difference of square values of two numbers passed as function arguements and to display the absolute value of it in an alert box.<script> function... more

CSS - Selecting the first bold word of all paragraphs

write the required external CSS rules for the following : Set the font size and font style , of the first bold word of all the paragraphs in a document into 14px and italic respectively.

JavaScript Form Validation

Question :Create the form structure shown below and write a JavaScript function satisfy the followingrequirements. The Name and the email address are required fields while entering data. Number... more

11/14/19

HTML Checkboxes

How do we create a checkbox of the following format in HTML?Colors (checkbox icon) red (checkbox icon) green (checkbox icon) redI could only do it as folows :Colors (checkbox... more

Java Program / methods

One sales shop offer following discount rates to customers based on their bill value.Bill value Range Discount ratebill value >= 10000 discount 20%bill value >= 5000 disocunt 10%bill value... more

11/08/19

Java Number Patterns

How do we print,_ _ _ _1_ _ _2 1_ _3 2 1_ 4 3 2 1In Java?Please help, I don't know how to get started
Programming Logic

11/08/19

intro to logic and design by Joyce farrel

Using your Phone Class Creation, create a main program logic that make 2 objects, which are instances of the phone class. Set at least 2 of the properties. Use 2 at least of the getters (either... more

Creating An Air Pollution Index Reader in Ruby (Straight Forward Question)

I got stuck halfway with this question, im unable to post the image because im required to get 10 reputation points here lol. So i literally recreated the whole question here. There were no files... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.