Programming

Programming questions? Ask a programmer for answers ASAP

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

Related Programming Questions
I am using go and have to extract base64 string from a
I am using go and have to extract base64 string from a regular string … read more
DarrellL421
DarrellL421
Programmer
Software Engineering - Real Time
41 satisfied customers
Write a python function encoder that receives a string, and
Second opinion] write a python function encoder that receives a string, and then performs the following: For each character in the string, apply the following steps: *Covert it into its numerical valu… read more
Su-ada M
Su-ada M
Master's Degree
42 satisfied customers
Write a python function encoder that receives a string, and
Second opinion] write a python function encoder that receives a string, and then performs the following: For each character in the string, apply the following steps: *Covert it into its numerical valu… read more
Su-ada M
Su-ada M
Master's Degree
42 satisfied customers
Write a python function encoder that receives a string, and
write a python function encoder that receives a string, and then performs the following: For each character in the string, apply the following steps: *Covert it into its numerical value using the ord(… read more
Kunal
Kunal
505 satisfied customers
Write a function int find(char* str, char* word, int skip)
Write a functionint find(char* str, char* word, int skip)that will search in “str” for the first occurrence of the c-string passed to the function in variable “word”. i.e. it looks for “word” in “str”… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
I'm having some trouble converting 4 64bit integers into a
Second opinion] Hi, I'm having some trouble converting 4 64bit integers into a base64 string, in swift. I have a python script that produces correct output, but need to replicate in swift. is this som… read more
RonaldS102
RonaldS102
Master's Degree
1,142 satisfied customers
I'm having problems trying to concatenate data in an html
I'm having problems trying to concatenate data in an html string. Here's the line..."URL GOTO=http://tennislink.usta.com/Tournaments/Schedule/SearchResults.aspx?Action=1&Year=&TournamentID={{tournid}}… read more
Nilesh
Nilesh
CEO
Bachelor's Degree
2,367 satisfied customers
I need help with coding python hw questions. I dont know
Write a function weave that takes two lists as parameters and returns a new list with the alternating elements of each parameter list. For example, given:names = [‘joe', ‘tom', ‘penny', ‘sue'] scores = [5, 20, 35, 15] The resulting list would be:resulting_list = [‘joe', 5, ‘tom', 20, ‘penny', 35, ‘sue', 15] If one list is longer, the rest of the longer list should be added to the resulting list after weaving. For example:first_list = [‘joe', ‘tom', ‘penny', ‘sue'] second_list = [5, 20] The resulting list would be:resulting_list = [‘joe', 5, ‘tom', 20, ‘penny', ‘sue'] No files uploaded Q4 Add List 1 Point Write a function add_list(list1, list2) that takes two lists of numbers of the same length and returns a new list consisting of the sum of the first numbers, the sum of the second numbers, etc. For example add_list([1,2,3], [4,5,6]) should return the list [5, 7, 9] since 1 + 4 is 5, 2 + 5 is 7, etc.Your main function should prompt the user for the two lists as follows: read a list of numbers, one number per line, followed by ”done”, then another list of numbers, one per line, followed by done. If the lists have different lengths, your main function should print “The lists are different lengths.” and terminate execution of the program.If the lists that the user inputs are the same length, the main program should call add_list and print the resulting list, one number per line.Note: you may define additional functions, as you see fit.Example execution:Please enter a list of numbers, one per line, ending with a line "done" when the list is completed. 5 4 6 done Please enter a list of numbers, one per line, ending with a line "done" when the list is completed. 7 9 8 done [12, 13, 14] Example execution:Please enter a list of numbers, one per line, ending with a line "done" when the list is completed. 2 5 done Please enter a list of numbers, one per line, ending with a line "done" when the list is completed. 1 3 5 done The lists are different lengths. No files uploaded Q5 Create Prefix Lists 1 Point Implement the function create_prefix_lists(list) that will return a sequence of lists, each containing a prefix of list. All the lists should be collected as one big list.For example, for [2, 4, 6, 8, 10] the function should return [[], [2], [2, 4], [2, 4, 6], [2, 4, 6, 8], [2, 4, 6, 8, 10]].Note: recursion can not be used for this solution, if you are familiar with the concept.No files uploaded Q6 Encoder / Decoder 1 Point Design and implement encoder and decoder functions that perform run length compression of strings (see run length encoding for more information).Run length string encoder: The encoder function should take a string as a parameter, and return the encoded string, represented in a list. For example, given the string “aadccccaa”, the encoded string will be: [['a', 2], ['d', 1], ['c', 4], ['a', 2]].Run length string decoder: The decoder function should take an encoded string (represented in a list) as a parameter, and return the original string. For example, given the encoded string [['a', 2], ['d', 1], ['c', 4], ['a', 2]], the decoded string is: “aadccccaa”.Note: Use the top down design approach to break the problem into smaller subproblems that can be used to solve it. Put both functions in the same file and provide a main method that calls each of them using user-input as the basis of the encoder, and the encoder's result as the input of the decoder.Example execution:Enter a string to be encoded: abbcce. The encoded string is: [['a', 1], ['b', 2], ['c', 2], ['e', 1], ['.', 1]] The decoded string resulting from the encoded string is: abbcce. … read more
Hema Malini
Hema Malini
B Tech
620 satisfied customers
Looking Ruby programmer to do some base64 programming
****Anyone working on this Request?**********Please reply soon if still working on it******************************************Looking for a Ruby programmer to do some base64 programming converting 02… read more
Anthony Bisong
Anthony Bisong
Master's Degree
8 satisfied customers
Hello! I need to implement encoding-decoding of data using
Hello! I need to implement encoding-decoding of data using Barker's codes. Please provide Java/C#/JavaScript source code or at least understandable flow-chart that can be implemented using these langu… read more
ATLPROG
ATLPROG
Sr Software Engineer
Master's Degree
7,700 satisfied customers
C Programming Decode Lab Your assignment is to write a C
C Programming Decode Lab Your assignment is to write a C program, decode.c, that will decode a secret message. The message will be 26 characters in length, and will be given to you as a series of numb… read more
jatechexpert
jatechexpert
Master's Degree
1,337 satisfied customers
Write a program to read a message from keyboard, and an integer number
Problem Description Write a program to read a message from keyboard, and an integer number between 1 and 10 for CODING. Prompt user if the numbers is not valid. Modify each of the characters and digit… read more
Raj
Raj
SAP ABAP Consultant
Master's Degree
925 satisfied customers
Your assignment is to write a C program, decode.c, that will
Your assignment is to write a C program, decode.c, that will decode a secret message. The message will be 26 characters in length, and will be given to you as a series of numbers. These numbers must b… read more
Emanuel
Emanuel
Bachelor's Degree
15 satisfied customers
Provide the definition for each of the following structures
Provide the definition for each of the following structures and unions: a. Structure inventory containing character array partName[30], integer partNumber, floating point price, integer stock and inte… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
Inheritance - Shape hierarchy Necessary skills Class inheritance,
Inheritance - Shape hierarchy Necessary skills: Class inheritance, Member function overriding (virtual functions), Dynamic binding, Multiple classes (separate source and header files), C++ Standard Li… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
9,436 satisfied customers
This is question.Write a program that accepts Command
This is question. Write a program that accepts “Command line input” to select ‘Encode' and ‘Decode', and input and output file names. Example: code 1 english.txt code.txt // encodes Example: code 2 co… read more
Ingo U
Ingo U
Master's Degree
509 satisfied customers
Why do functions have return types and parameter lists What
Why do functions have return types and parameter lists? What capabilities do these items give functions?… read more
Bill Sprouse
Bill Sprouse
Bachelor's Degree
37 satisfied customers
You are asked to write a Java application to decipher an encrypted
You are asked to write a Java application to decipher an encrypted message. You know that: • The plain message has been encoded using a simple substitution scheme • The original message only contains … read more
Todd
Todd
Bachelor's Degree
414 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