1,486 Answered Questions for the topic computer programming

06/06/21

C Programming Question

Write a program in C to count total number of vowel (a,e,i,o,u).Sample Run:Enter string1: cngcourseTotal number of vowels: 3
Computer Programming Computer Science

06/06/21

running time and space complexity for algorithms

list the running time and space complexity (in big oh notation) for each of the algorithms below with explanations/reasoning for each one. -quicksort-bubblesort-linear search-binary search
Computer Programming Computer Science

06/04/21

fibonacci array recursive

below is the code. how can i make the for loop in bold so that this method is a recursive functionpublic void Fibonacci_Array(int[] nums){if(nums == null || nums.Length <= 0){return;}nums[0] =... more
Computer Programming Computer Computer Science C#

06/02/21

Why is my visual studio c# code not working on .net fiddle c# compiler?

Here is my code. It should ask the user and let it input.The compiler is called dotnetfiddle.netI can't submit from any other compiler. Please fix the problem in code if needed.using System;class... more
Computer Programming Computer Science Programming

06/02/21

solve with ou build

A person is trading his money in the stock exchange market. Assume that the daily price of a specific market along a certain period of time is given as follows: Price [200, 500, 800, 100, 300, 50)... more

06/01/21

JAVA programming language

Part I Write an interface and abstract class for the Ticket that would be used for a ticket-selling applicationPart II Write at least two classes corresponding to different types of Tickets. Part... more
Computer Programming

06/01/21

Programming in c

En un hospital se registran pacientes, por cada paciente se registra: código del paciente (número entero), edad, genero, tipo de consulta (1, 2 ó 3) y días que se encuentra internado. Se finaliza... more
Computer Programming Math Calculus Precalculus

06/01/21

Use the figure to approximate the slope of the curve at the point (x, y).

= _____
Computer Programming C Computer Science Computer Engineering

05/31/21

Arrays and Functions

Write a C program using a function called find_divisible_by_2() that gets an array and prints the elements of that array which are divisible by 2. Assume that the size of the array is 10.Here is... more
Computer Programming

05/27/21

I want the solution in c++ languagge

Take a Boolean 2D array of 10X 10, where each row is sorted from the user, Find the row with themaximum number of 1s.Example:Input matrix0 1 1 10 0 1 11 1 1 1 // this row has maximum 1s0 0 0... more
Computer Programming

05/27/21

This is the question regarding array and i want the best solution of this question

Write a Menu Driven C++ program that creates one-dimensional array arr[] and initialize it with user ofsize 15. The program should do following Tasks using Menu, The menu operations are implemented... more
Computer Programming

05/27/21

it is the question regarding c++ programming and i am not able to solve it and i hope you will give me best solution

Take an unsorted array of size 15 and type int from the user and a number n, find if there exists apair of elements in the array whose difference is n.Examples:Input: arr[] = {5, 20, 3, 2, 50, 80},... more
Computer Programming

05/27/21

it is the question of programming and i do not have enough knowledge to solve it so i am asking to you and i hope i will get best answer

Take a Boolean 2D array of 10X 10, where each row is sorted from the user, Find the row with themaximum number of 1s.Example:Input matrix0 1 1 10 0 1 11 1 1 1 // this row has maximum 1s0 0 0... more
Computer Programming

05/27/21

it is the question about programming C++ language

Take a Boolean 2D array of 10X 10, where each row is sorted from the user, Find the row with themaximum number of 1s.Example:Input matrix0 1 1 10 0 1 11 1 1 1 // this row has maximum 1s0 0 0... more
Computer Programming

05/27/21

i want to get unique solution of the question and i am mentioning question in description box

Take a sorted array of 15 elements of type int and a value x from user, you need to find the ceilingand floor of x. The ceiling of x is the smallest element in array greater than or equal to x, and... more
Computer Programming

05/27/21

I want a simple solution of the question and that question i am mentioning in description box and i hope i will get best answer

Write a C++ Program to Multiply Two Matrix Using Multi-dimensional Arrays. You can use int or double2D array and takes it input from user. This program takes two matrices of order r1*c1 and... more

05/25/21

java programming language/ interface and abstract OOP

Part I Write an interface for a Bank application. Part II Write an abstract class for the interface written in Part I. Part III Write a Branch class from the abstract class written in Part... more

05/24/21

RPS Enumeration. Use the given enumerations to write a function Result getResult(Choice player1, Choice player2) .

Use the given enumerations to write a function Result getResult(Choice player1, Choice player2) . It should determine the winner of a round of Rock, Paper, Scissors between two players (Rock beats... more

05/24/21

Suits. The starter code below has code to keep track of the suits in a card game.

The starter code below has code to keep track of the suits in a card game. They are defined in an order such that clubs are the best suit (highest number), followed by diamonds, spades and then... more
Computer Programming C++ Computer Science Programming

05/24/21

Directions. Define a enumerated type Direction to make the following code work correctly.

Define a enumerated type Direction to make the following code work correctly. It should associate EAST with the value 0, NORTH with the value 90, WEST with 180 and SOUTH with 270.Code:#include... more

05/24/21

Write a method that finds the operations which the results are wrong in given file

Assume that multiple arithmetic operations are stored in a file. However, some of the results are wrongFor example, given operations 1.0 + 2.0 = 4.0 2.5 + 2.5 = 5.0 3.0 / 2.0 = 1.0 the method... more
Computer Programming Java Computer Science Programming

05/24/21

Java code needed

Java code needed! someone please help me with this code!Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string.... more
Computer Programming C++ Computer Science

05/24/21

C++ Design Pattern Problem

You're given 3 shapes: rectangle, triangle and circle. Your task is to find if one shape is contained in another shape. Define this function as a new operation (e.g. bool isContained()) without... more

05/22/21

For the function shown below, find each of the following limits. (If an answer does not exist, enter DNE.)

f(x) = 7x, x ≤ 0 x2 + 9, x > 0'(a) lim f(x) = _____ x→0−(b) lim f(x) = _____ x→0+(c) lim f(x) = _____ x→0
Computer Programming Computer C# Programming

05/21/21

CREATE A C# PROGRAM.

Research a rule called "Zeller's Congruence". This rule provides a complex formula that can be used to determine what day of the week any particular date occurred. For example, if the user entered... 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.