Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Develop a Python script that will display the exponentiation of the numbers in every line of a text file where the first number is the base and the second number is the exponent.


TEXT FILE


8 3


4 5


6 2


OUTPUT


512


1024


36

Develop a Python program that will display the multiplication table represented by the two non negative integers in a text file. The first integer will be the rows and the second integer will be the columns of the multiplication table.


TEXT FILE


3 5


4 2


OUTPUT


3x5


1 2 3 4 5


2 4 6 8 10


3 6 9 12 15


4x2


1 2 3 4


2 4 6 8


3 6 9 12


4 8 12 16

Develop a Python program that will display the multiplication table represented by the two non negative integers in a text file. The first integer will be the rows and the second integer will be the columns of the multiplication table.



TEXT FILE


3 5


4 2


OUTPUT


3x5


1 2 3 4 5


2 4 6 8 10


3 6 9 12 15


4x2


1 2 3 4


2 4 6 8


3 6 9 12


4 8 12 16

3. In or Out


I'm quite into games now, so how about we play In or Out! When a given number is even, the team scores so we shall print "In", but if it's not an even number, then we print "Out". Simple, right?


Now let's get this game started.


Input

A line containing an integer.

35

Output

A line containing a string.

Out

2. The Greater One

by CodeChum Admin

Let us now try comparing two numbers by letting the user input two different numbers and say "Greater" if the first inputted number is greater than the second one, and "Lesser" if it’s the other way around.

Let's go!


Input

A line containing two different numbers separated by a space.

1.2·1.02

Output

A line containing a string.

Greater



Find 𝑝̂𝑎𝑛𝑑 𝑞̂, given X and n.







1. X = 56, n = 80

B. Find the finite population correction factor given the following: 1. 𝑁=150 𝑛=15 2. 𝑁=600 𝑛=35 


Write a C++ program that calculates the nth power of numbers from 1 to k. where n

and k will be input by user.

Expected Output:

Input Power value , n: 3

Input k : 5

3rd power of 1 is 1

3rd power of 2 is 8

3rd power of 3 is 27

3rd power of 4 is 64

3rd power of 5 is 125


NESTED LOOP PROBLEM:)

Design an interactive input loop that scans pairs of integers until it reaches a pair in

which the first integer evenly divides the second. Produce the output in the same format

given below.

Expected Output:

Input number pair 1: 4 7

Input number pair 2: 3 16

Input number pair 3: 14 7

Input number pair 4: 10 100

Your desired number pair is (10,100)


Nested Loop problem:-

Write a C++ program to find first positive even number input. Also tell in how many attempts user input positive even number using do while loop.


LATEST TUTORIALS
APPROVED BY CLIENTS