Programming

Programming questions? Ask a programmer for answers ASAP

Connect one-on-one with {0} who will answer your question

Related Programming Questions
I had a few questions about the code from earlier. when the
Hello, I had a few questions about the code from earlier. https://pastebin.com/JC9Ggzq5. when the first die is rolled, the comparison between the attacker and defender rolls is done for each die not j… read more
ITChris
ITChris
Computer Software Engineer
4 year BS (Computer Science)
1,826 satisfied customers
Game II Note: Remember your d notation for gaming. 3d6, for
Second opinion] Game II Note: Remember your d notation for gaming. 3d6, for instance, would mean roll a 6-sided die 3 times.For this assignment, you will create your GenPlayer function. This function … read more
Bing
Bing
Freelance IT Consultant
2,574 satisfied customers
I'm so happy you had a good experience with Do you have any
I'm so happy you had a good experience with ChrisH121! Do you have any more questions about your computer or need help with other devices? It's included! need help on another question with ChrisH121 I… read more
ITChris
ITChris
Computer Software Engineer
4 year BS (Computer Science)
1,826 satisfied customers
I need assistance on some java hw can you guys help? I have
I need assistance on some java hw can you guys help? … read more
UgoA
UgoA
BA/BS
1,427 satisfied customers
Help with Python coding. Import json def main(): while True:
import jsondef main(): while True: try: n = int(input("Enter the number of students: ")) break except ValueError: print('You must enter an integer') else: break student_list = [] dataDict = dict() while True: try: for i in range(n): dataDict['first name'] = input("\nEnter First Name of Student "+str(i+1)+": ") dataDict['last name'] = input("Enter Last Name of Student "+str(i+1)+": ") dataDict['exam 1'] = int(input("Enter Exam 1 Grade of Student "+str(i+1)+": ")) dataDict['exam 2'] = int(input("Enter Exam 2 Grade of Student "+str(i+1)+": ")) dataDict['exam 3'] = int(input("Enter Exam 3 Grade of Student "+str(i+1)+": "))student_list.append(dataDict) except ValueError: print('You must enter integers for the exam scores') else: break gradebook = {'student':[dataDict]} with open('result.json', 'w') as fp: json.dump(gradebook, fp) main() … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
I need help in writing python code. Class Die(object): '''A
class Die(object): '''A single die with arbitrarily many sides.''' def d6(self): number = random.randint(1, 6) return number def d20(self): number = random.randint(1, 20) return number def roll(self): '''Returns a random number between 1 and the number of sides on this die''' return random.randint(1,20) pass def getSum( self ): "Return the total of two dice." s= 0 for d in self.Die: s = d6 + d20 pass if __name__ == '__main__': main() … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
In Netbeans. Create a Java GUI program that does a dice rolling
In Netbeans. Create a Java GUI program that does a dice rolling experiment. There are 5 dice, dice are numbered 1 to 6. To do random numbers in Java you can do this: Random generator = new Random(); i… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
Hello! I need help with the following program please. I
Hello! I need help with the following program please. I need it resolved in 24 hours. Please include explanation (comments inside the java) explaining how everything works. Language: Java Pay: $25 ===… read more
lifesaver
lifesaver
Bachelor's Degree
5,463 satisfied customers
I need help writing a program like this http //wikisend.com/download/616502/prgam.docx
I need help writing a program like this http://wikisend.com/download/616502/prgam.docx I asked for help from someone on this site but he kept saying he would finish it on friday then sunday and then m… read more
Ingo U
Ingo U
Master's Degree
509 satisfied customers
hi please let me know what you can doYou are required to
hi please let me know what you can do You are required to write a Python program that allows a player to play a game of PIG against the computer. The program will allow a player to play as many games … read more
Arty
Arty
Computer Software Engineer
Bachelor's Degree
377 satisfied customers
Part A Write an application to simulate the rolling of two
Part A Write an application to simulate the rolling of two eight-sided dice (eight-sided dice are used in various role-playing games). The application should use an object from the class Random to rol… read more
lifesaver
lifesaver
Bachelor's Degree
5,463 satisfied customers
What does function six do if it is called with an integer greater
What does function six do if it is called with an integer greater than 1? int six(int n) { int ans; if (n <= 1) ans = 1; else if (n % 2 == 0) ans = n * six(n - 2); else ans = six(n - 1); return(ans… read more
ehabtutor
ehabtutor
C.E.O
Bachelor's Degree
1,155 satisfied customers
Hello Ms Carka I have two projects that I need by Thursday The
Hello Ms Carka I have two projects that I need by Thursday: The first one have two parts for this project: Part A Write an application to simulate the rolling of two eight-sided dice (eight-sided dice… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
I need two java programs created and all files zipped up. An
I need two java programs created and all files zipped up. An application to simulate the rolling of two eight-sided dice (eight-sided dice are used in various role-playing games). The application shou… read more
lifesaver
lifesaver
Bachelor's Degree
5,463 satisfied customers
Hi again, I am trying to write an overload method roll()
Hi again, I am trying to write an overload method roll() that will roll all of the elements in an of die or dice. This is what I have so far: Can you help me? Thanks Angee public class DiceGame { priv… read more
Raj
Raj
SAP ABAP Consultant
Master's Degree
925 satisfied customers
Write a program that simluates a game of dice. In this game,
Write a program that simluates a game of dice. In this game, players take alternate turns rolling two dice. On each turn, they record the sum of the two dice and add this to their total. If a player r… read more
Philip Chapman
Philip Chapman
Owner/Software Consultant
High School or GED
60 satisfied customers
CSC 211 Program 5 Due Seventh Week Objective of this
CSC 211: Program 5 Due: Seventh Week Objective of this Program: (1) To learn more about repetition in programs, (2) to use more than one class in a project, and (3) to pass Objects as parameters. The … read more
Ansh P.
Ansh P.
System Analyst
Bachelor's Degree
6,385 satisfied customers
Hi Scott, I saw that you are familiar with the inventory
Hi Scott, I saw that you are familiar with the inventory Program. I started week five, which did not compile, and I need to earn full points for the last assignment part 6, I will post what I have and… read more
Scott
Scott
MIT Graduate
Master's Degree
247 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Computer Software Engineer

9,436 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

The-PC-Guy

The-PC-Guy

Software Engineer

932 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

Rafael Martins

Rafael Martins

Computer Software Engineer

449 satisfied customers

Desktop, Mobile and Web Developer. 10+ years of experience. Creative solutions provider.

Ramesh Patil

Ramesh Patil

Computer Software Engineer

406 satisfied customers

MCA, 3+ years of experience in Asp.Net, C#, SSIS, VB.Net, Ms-SqlServer2005, MySql, Javascript,

Arty

Arty

Computer Software Engineer

377 satisfied customers

15+ years of programming, C, C++, Java, PHP, awk, ruby, shell, ASM, Forth, Raptor, M.A.R.I.E, Excel

< Previous | Next >

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x