Lukket

need help on python coding

Write a PYTHON command line program in a file called [url removed, login to view], that prompts the user to choose from the following options: (1) EXPANDED SUM (2) REVERSE EXPANDED SUM (3) REVERSE INTEGER (4) PRODUCT TABLE (5) EXIT The program should repeat the menu options until the user enters option 5.

The following is a description of what each option should do when chosen:

For all options, the user should be asked to enter a positive integer. Do some simple error checking to make sure the integer they entered is in fact a positive integer. Simple error checking would consist of entering a negative integer. If it is not valid data, then the program should repeat and ask the user to enter their data again. Once the data is valid then…

EXPANDED SUM: Output the expanded sum of the first n positive integers as well as the actual sum. For example, if the user entered 5, then your program should output 1+2+3+4+5=15.

REVERSE EXPANDED SUM: Output the expanded sum in reverse. For example if the user entered 7, then your program should output 7+6+5+4+3+2+1=28

REVERSE INTEGER: Write the integer they entered in reverse. For example if they enter 24, then your program should output: The positive integer you entered, reversed is 42.

PRODUCT TABLE: Output an N by N square product table. For example, if the user enters 4, your program should output: A B C D 1| 1 2 3 4 2| 2 4 6 8 3| 3 6 9 12 4| 4 8 12 16 All of the above options should be implemented by writing and calling the following methods. The method signatures below are in pseudo-code. Void means that the method will not return a value. Int is short for integer, Boolean implies true or false. a. For parts (1) and (2) write the function void printSum(int n, boolean reverse) where n is the integer they entered and reverse is either true or false. If true, then the sum is printed in reverse. Write the function sum(int n) which returns the sum of the first n positive integers. printSum should call sum. b. For part (3) write the function int reverseInt(int n) which returns the number n in reverse. c. For part (4) write the function void printProductTable(int n) which prints the N x N multiplication table. FOR EXTRA CREDIT TOWARDS THIS PORTION OF THE FINAL EXAM, DO THE FOLLOWING: Error proof your program to check for all invalid data entry, including errors containing letters, non-numeric symbols, etc…

Evner: C programmering, Java, Python, Software Arkitektur

Se mere: free python help chat, help in python 3, python tutors near me, python help command line, help with python homework, do my python homework, python help forum, python coding help, I need help with a python script, need help with assignment in python, i need help with c++ programming, freelancer c# help with coding, cheap python coding help, need help with c# programming, need help with python programming, need help in c programming, need help write python script operate telit module, need help text website, open source projects need help, freelance need help wsdl file

Om arbejdsgiveren:
( 0 bedømmelser ) United States

Projekt ID: #15845131

36 freelancere byder i gennemsnit $27 på dette job

$40 USD på 1 dag
(325 bedømmelser)
7.1
hbxfnzwpf

80USD for this project Relevant Skills and Experience I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mai Flere

$80 USD på 1 dag
(121 bedømmelser)
6.8
$30 USD på 1 dag
(331 bedømmelser)
6.7
workspaceit

We have quality teams in software and web and mobile development. we go through your full requirement and hope we will have some good business very soon. Tahsinul Alam CEO WSIT-Bangladesh Relevant Skills and Experie Flere

$25 USD på 1 dag
(9 bedømmelser)
6.4
algispetkuns

can do this for you Relevant Skills and Experience - PYTHON Proposed Milestones $40 USD - completed project

$40 USD på 1 dag
(69 bedømmelser)
5.9
cogitokat

I am an experienced Python developer who is available to complete your project promptly. I look forward to working with you. Relevant Skills and Experience Computer science education, 8 years python experience. Propo Flere

$35 USD på 1 dag
(10 bedømmelser)
4.8
Vadimwang

Having experience of python, I can do what you want. Python is my primary programming language. Let us discuss details in chat. Relevant Skills and Experience python Proposed Milestones $30 USD - 1 day

$30 USD på 1 dag
(36 bedømmelser)
4.4
$30 USD på 1 dag
(15 bedømmelser)
4.3
$25 USD på 1 dag
(9 bedømmelser)
3.9
sinh1992

have 2 years experience with python Relevant Skills and Experience python, numerical Proposed Milestones $25 USD - final

$25 USD på 1 dag
(19 bedømmelser)
4.0
$25 USD på 1 dag
(4 bedømmelser)
3.7
needanazeema

i have worked with python and developed many applications. i am professional with huge experience in software development. reviews about me speak about my work and my attitude towards work and i strive to give a produc Flere

$30 USD på 1 dag
(11 bedømmelser)
3.4
kunitsynartem

Hello! I can make this Python program for you within the next day. I'll provide you with the py file with some documentation.

$25 USD in 2 dage
(5 bedømmelser)
3.2
almashudshishir

A proposal has not yet been provided

$35 USD in 2 dage
(14 bedømmelser)
3.4
Ginungagap

I have rich experience of python development with similar features to what you want. I can finish your job in a short time. Look forward to hearing from you. Best Regards. Relevant Skills and Experience python, c,c++ Flere

$25 USD på 1 dag
(4 bedømmelser)
2.6
blue2sea

Dear Sir. I have good experiences with python programming. I can give good result. I look forward your response Regards. Relevant Skills and Experience Python programming Proposed Milestones $23 USD - in 1 day

$23 USD på 1 dag
(2 bedømmelser)
2.4
olasheni

Hey, I'm interested in your project. Please send me a message so that we can discuss more. Relevant Skills and Experience HTML CSS JavaScript Chrome Extension Dev. PHP XML Integration Web Scraping Bot Imitation jQuery Flere

$25 USD på 1 dag
(2 bedømmelser)
2.4
$25 USD på 1 dag
(3 bedømmelser)
2.4
dilichan

I have many years of experience working with python. I have done many similar applications, and I can assure you that I can complete this task with ease. Relevant Skills and Experience Python Programming Algorithms P Flere

$20 USD på 1 dag
(1 bedømmelse)
2.4
Ebabi

A proposal has not yet been provided

$25 USD in 2 dage
(3 bedømmelser)
1.9