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

write a program to print the numbers in the increasing order along with their frequency.


Armstrong numbers between two intervals


Write a program to print all the Armstrong numbers in the given range


A to B(including A and B). An N-digit number is an Armstrong number if the number equals the sum of the Nth power of its digits.


Input


The first line has an integer


A. The second line has an integer B.


Output


Print all Armstrong numbers separated by a space.

If there are no Armstrong numbers in the given range, print


-1.


Explanation


For


A = 150 and B = 200


For example, if we take number 153, the sum of the cube of digits


1, 5, 3 is


13 + 53 + 33 = 153.


So, the output should be


153.


Sample Input 1

150

200

Sample Output 1

153

Sample Input 2

1

3

Sample Output 2

1 2 3

Sample Input 3

10

15

Sample Output 2

-1


You are a network engineer. You have been asked to plan and implement a network for

two buildings. Each building has two floors. Each building has its own router, they are 

600 meters away from each other.

The first building contains the following Computer Labs:

1- Logic Lab (First Floor). The lab has 88 PCs, 4 switches.

a. Name one of the PCs net1.

2- C++ Lab (Second Floor). The lab has 135 PCs, 6 switches.

a. Name one of the PCs net2.

3- Media Lab (Second Floor). The lab has 590 PCs, 20 switches.

a. Name one of the PCs net3.

b. This LAB is data intensive, use the best possible cabling bandwidth.

4- Use the following Network address 174.15.0.0 255.255.128.0 for the three labs 

(Subnets).

5- The PCs in each network should obtain their IPs automatically from their DHCP 

server.

6- The DHCP Server should be assigned with a static IP address.

 Each LAN has its own DHCP Server. It should provide enough number of 

dynamic addresses for all PCs. It should also provide other information like 

DGW and DNS details.



Write a python program for read phone number


Write a python program for minimum absolute difference


Given an integer array of size n write a function that finds the maximum product of two integers in it.


Write a python program for replace negative numbers


An example of a troubleshooting document

Given an integer N, Write a program to print a pyramid of N rows as shown below.

In the example the number of rows in tbe pyramid is 5. So, the output shoyld be

. . . . 0 . . . .

. . . 0 0 0 . . .

. . 0 0 0 0 0 . .

. 0 0 0 0 0 0 0 .

0 0 0 0 0 0 0 0 0


The program is to input an examination mark and test it for the award of a grade. The mark is a whole number between 1 and 100. Grades are awarded according to the following criteria: >= 80 Distinction >= 60 Merit >= 40 Pass < 40 fail Write pseudo-code.


LATEST TUTORIALS
APPROVED BY CLIENTS