472 Answered Questions for the topic programming
Programming C++
04/15/18
C++ programming
How to write a C++ program that requests an integer value from the user. If the value is between 1 and 100 inclusive, print “OK;” otherwise, print “Out of range.”
i need help with PL/SQL (Oracle)
Write a complete PL/SQL program that enables a user to interact with a database of your choice (for example you may choose employee database, or student, or a library database, … etc). The database...
more
12/10/17
What is a key and repeated process in terms of computational thinking?
I don't understand what these two terms mean but they're linked to programming and computational thinking. Please help
Programming
11/20/17
Simple pseudo code
write a simple computer pseudo-code for using insertion sort to sort a number of digits
Programming Python
09/23/17
Python spacing question
So this is my code, but when a name is input it doesn't have the spacing between the words, for example "M. Ghandi" comes out as "M.Ghandi" instead, how do I get the separation between the...
more
Programming Python
09/23/17
Python decimal question
So this is my code right now: s = input("Input a float: ") in_input = float ( s ) '{:{width}.{prec}f}'.format( in_input, width=12, prec=2) '{0:10.2f}'.format ( in_input ) print (in_input) It works...
more
Programming Python
09/22/17
Python translating question
So I need to create a program that can translate sentences to Pig Latin. If the word begins with a vowel, the I need to append “way” to the end of the word. If the word begins with a consonant,...
more
Using Python to find change
So I have 10 quarters, 10 dimes, 10 nickels, and 10 pennies. I need to create a code that will determine if that money can purchase an object at a certain price (the price is the input of the code)...
more
Programming
08/07/17
Differential Pressure to Flow
We have a pipe with a butterfly valve, connected to a blower that just blows air. I'm seeing programming that takes the square root of the actual differential pressure reading, then multiply that...
more
Programming C Programming
07/11/17
having trouble with some very simple C code.
Hello everyone, this is my code. It's meant to simply get input from the user about whether or not they have passed and then print the corresponding result. Problem is, when I type F the code runs,...
more
Deleted MATLAB files plzzz help
I am doing m tech and I have to submit my thesis and MATLAB files oh till tomorrow and my all MATLAB files are deleted pllzzzzzz help from where can I get those files back
Plzzz help
From...
more
A ratio based Question
Imagine you have a list of paired values x,y. the goal is to compare all values until you have the best possible pair. The smaller X, the better. The larger Y, the better. Although Y is more...
more
04/03/17
I need some help with variables.
So, I m in an online coding class and I have been stumped by this challenge.
Here are my starting variables:
var x = 5;
var y = 11;
var z = 4;
I need my output to be:
x = 2
y = 6
z...
more
02/28/17
I have X dice with 6 sides each & want to simulate how many 6's I get by using ONE random number 0 to Y
With 6 sides on, say, 3 dice, I have 216 combinations.
** Three 6's, 1 possibility: 666
** Two 6's, 15 possibilities: 665 664 663 662 661 656 655... etc
** One 6: 75 possibilities: 611 612...
more
Programming Functions
02/26/17
How do I assign a day of the week to a number using a function in Python Pyscripter?
Assume the days of the week are numbers 0,1,2,3,4,5,6 from Sunday to Saturday. Write a function which is given the day number, and it returns the day name (a String). Make sure to use a return...
more
Programming
02/15/17
basic python math problem
Admission to Wally World is $25 for guests under 16 and $40 for those 16 and over. Two guests are at the admission kiosk. Write a program that prompts for the age of each user and then determines...
more
12/22/16
If Statements (CS) Visual Basic
1.
intX = 129
intY = 200
intCount = 1
If (intX > 120 And intY < 30) Then
intCount = intCount + 1
Else
intCount = -1
End If
intCount = ?????
Can someone please explain this...
more
Programming
10/02/16
How many bits are required to count upto decimal 1 million?
Programming ...
How can we find numbers of bit of a number
09/22/16
How to get a job without degree?
I am pursuing core java.after that i will do android.i did c++.so plz tell me can i get good job through thease certificates? If yes How?
Programming
05/10/16
i wabt to code about array[5] i insert three first then only insert again.
example array[5]
insert three first then insert again
04/25/16
1.Write an Algorithm , Flow chart , pseudo code to convert from decimal number system(base-10) to binary number system(base-2).
1.Write an Algorithm , Flow chart , pseudo code to convert from decimal number system(base-10) to binary number system(base-2).
04/01/16
Trees [What is the minimum possible depth of T]
I just wanna know how can i get the min with certain number of nodes. Who can explain how to find the min
Consider a binary search tree T with 5 nodes.
What is the minimum possible depth...
more
01/26/16
"Is there any other way to find the right most digit of a number, other than getting the remainder of the number when divided by 10."
Any arithmetic operator can be used but not %10..
Programming Problem Solving
11/03/15
Develop a solution to calculate and print out these values.
mrs. brown has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores.Use a trip value to stop the processing of the loop.
10/02/15
C++ Programming Homework Due Tonight :(
I'm pretty sure this assignment is really easy but I haven't learned anything in the class. Basically he wants us to rewrite part of a program as a module. #include <iostream> using...
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.