476 Answered Questions for the topic programming

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

10/14/19

Recursive function in Pascal for division of numbers

Write a Pascal code which, given two integers, divides them (integer division) using only substraction. Use recursion.
Programming Java Coding

10/12/19

Java - arrays & loops

Question : Write a Java program to read integer data set(size of n<10) into an array and display its data graphically by plotting each numeric value as a bar of asterisks as shown in the... more

10/06/19

How to write a and b as inclusive integers? (python3)

Write a program that takes three integers a, b, and k as command-line arguments writes the integers between a and b (both inclusive), but only k integers per row.I honestly have no idea where to... more
Programming Java Coding

10/03/19

Java Switch Case

How do we write the following code using switch statement ?if(option == 1) vehicle = "Motor Cycle" ;else if(option == 2) vehicle = "Car";else if(option == 3) || (option == 4)vehicle = "Heavy... more

10/03/19

Java Programming

Hi, I'm new to Java. I've been working on this question, wrote the code and checked the results with some examples and it seems to be doing fine. I would be glad if any of the tutors can check the... more

Java Switch Case

Why is the output of the code 14, not 8 : alpha=3+5=8?public class Application4{public static void main(String[] args) {int alpha=3;int beta=5;switch (beta){case 3:alpha=alpha+3;case... more
Programming Asp Classic

09/28/19

Using ASP Classic, write a function to convert Hexadecimal to ASCII format

Using ASP Classic, write a function to convert Hexadecimal to ASCII format. Example input: '3132', example output: '12'Example input: '313030', example output: '100'
Programming

09/22/19

Write a program using integers userNum and x as input, and output userNum divided by x four times.

How do I do this in c language
Programming

09/21/19

Is Agile Software Development an important skill in the job market?

The Agile Software Dev class is offered in our school. I am not sure if I should take this class or not.

07/22/19

C++ program use of getchar and putchar function

What is difference between these two programs1 )#include<iostream.h>#include<stdlib.h> int main(){ system("cls"); char ch ; do { cout<<"enter a character :"; ch=... more
Programming Python Coding

06/15/19

Exact change in Python

Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are dollars, quarters, dimes, nickels, and... more

05/20/19

Do the skills of a software developer transfer well into working in computer security or white hat hacking?

I am conflicted. I want to become a software developer but I am also interested in the networking side of things… Is software development and network security 2 whole different beasts? If they are,... more
Programming Statistics

04/09/19

probability and statistic

In an inequality a>=b the variables a and b are replaced by randomly selected single-digit natural numbers. Find the probability that the resulting inequality is correct.

02/12/19

What is Meta Charset In HTML?? And What Does it Do?

Im A beginner, Learning web development, and just wanna ask what does The Meta tag Do?
Programming C++

02/01/19

C++ changing the char of Vector <string>

void encodeUpper (vector <string> &book, int &cipher){ string word; char asciiNum; for(int i=0;i<book.size();i++){ if... more
Programming

01/13/19

Write a program using integers userNum and x as input, and output userNum divided by x four times. Ex: If the input is 2000 2, the output is:

Write a program using integers userNum and x as input, and output userNum divided by x four times.Ex: If the input is 2000 2, the output is:1000 500 250 125Note: In Coral, integer division discards... more
Programming C++ C Computer Science

10/08/18

tricky c++ if else question

Why will it print the bold statements? what about Hi-5 " #include <iostream>using namespace std;int main (){ if ((4 < 2 ) && (3 == 3)) cout << "Hi-2 "; else if (3==3) cout... more
Programming C++ C Computer Science

10/08/18

if else confusing problem?

In this program no matter how many times i run it it wont print out the statement in bold. shouldnt it print evert statement after else? it will only print "HI-6"     #include... more
Programming

09/28/18

algorithm in pseudocode

Two people play a game of Count 21 by taking turns entering a 1, 2, or 3, which is added to a running total. The player who adds a value that makes the total points exceed 21, loses the game.... more
Programming

09/28/18

defining diagram

Two people play a game of Count 21 by taking turns entering a 1, 2, or 3, which is added to a running total. The player who adds a value that makes the total points exceed 21, loses the game.... 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.