Questions: 1 835

Answers by our Experts: 1 539

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

Create a program that will generate the sample screen output below:

Enter how many number(s) to be checked: 28

Number Sum of Factors Remarks

1 0 Deficient

2 1 Deficient

3 1 Deficient

4 3 Deficient

5 1 Deficient

6 6 Perfect

7 1 Deficient

8 7 Deficient

9 4 Deficient

10 8 Deficient

11 1 Deficient

12 16 Abundant

13 1 Deficient

14 10 Deficient

15 9 Deficient

16 15 Deficient

17 1 Deficient

18 21 Abundant

19 1 Deficient

20 22 Abundant

21 11 Deficient

22 14 Deficient

23 1 Deficient

24 36 Abundant

25 6 Deficient

26 16 Deficient

27 13 Deficient

28 28 Perfect

Summary

Deficient number(s): 22

Abundant number(s): 4

Perfect number(s): 2

Total number(s): 28


Write a program to calculate the perimeter of different shapes using an abstract class.

Sample Input and Output 1:

Shapes

1.Square

2.Rectangle

3.Circle

Enter your choice

1

Enter the side of the square

5.6

Perimeter of square is 22.40


Sample Input and Output 2:

Shapes

1.Square

2.Rectangle

3.Circle

Enter your choice

2

Enter the length of the rectangle

5

Enter the width of the rectangle

6.3

Perimeter of rectangle is 22.60


Sample Input and Output 3:

Shapes

1.Square

2.Rectangle

3.Circle

Enter your choice

3

Enter the radius of the circle

5

Perimeter of circle is 31.40


Sample Input and Output 4:

Shapes

1.Square

2.Rectangle

3.Circle

Enter your choice

5

Invalid input

 


Given a pair of words (the first is the correct spelling and the second is the contestant’s spelling of the given word) determines if the word is spelled correctly.

The degree of correctness is as follows:

  • CORRECT - If it is an exact match.
  • ALMOST CORRECT – If no more than 2 letters are wrong.
  • WRONG - if 3 or more than 3 letters are wrong and

Note: If the length of the strings is not equal then we need to print wrong.


Write a program to find the word spelled correctly or not.


Write a program to find the median of the elements in an array. Median is the middle value in a sorted array. If there is an even number of elements in an array, then the median is mean of 2 middle values.

Sample Input and Output 1 :

Enter the number of elements in the array

5

Enter the elements in the array

2

4

1

3

5

The median of the array is 3.00


Write a program to delete all vowels present in a string in c#


OTP to approve a transaction of ₹3150.00 from your A/c No. ending 5578 to DMart is 57643864. Do not share with anyone.






Create a class player and implement relevant member functions and member variables inside your class.

Find latitude and longitude of utmost 20 countries, ordered by population, with a population greater or equal to the population limit given below and have atleast one currency exclusively for themselves. (countries like Madagascar, Sri Lanka but not India, USA). Use the country details from this dataset.

Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.

  • Assume radius of earth: 6371 km
  • Round length of each line and final result to 2 decimal points
  • If co-ordinates are missing for any country use 0.000 N 0.000 E

Population limit: 11750

  1. Create two (2) overloaded methods that display a greeting message and use first name and last name as its parameters.
  2. Write two (2) overloaded methods that will compute the total price of an item. Use the total item and price as parameters, which are both floating-point numbers.

Write a program in c# sharp which will ask the user to create new username and password. Once finished creating, ask the user to log in using their log in details. the system will not terminate until such time the user enters both the username and password correctly


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS