Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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



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: 20792




Note: Population limit will change at random intervals. So please make sure answer is computed for the correct population limit before submitting.



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: 20792



Note: Population limit will change at random intervals. So please make sure answer is computed for the correct population limit before submitting.

Create a program that will only require the programmer to change the variable values in order to create a dynamic sentence using the sentence sample Output.



BOLD words indicates a variable.


Sample Output:


-----------------------------------------------------------------------------------



Hi my name is Ryan Christian Nono.


I am 25 Years Old.


I love reading books and watching movies.


My favorite color is `Black` because the sky is white.



I love Programming 2 because of my Instructor.

in a building, there are N rooms numbered from 1 to N. In each room there is a bulb that is initially ON for the odd-numbered rooms and OFF for the even-numbered rooms.before visiting a room, you will note the state of the bulb. when you leave a room, the bulb is turned OFF if it is ON and turned ON if it is OFF. you visit all rooms in the same order as they are numbered. you then return to the starting room and repeat the process for N times. you are given N, write a program that should output the state of the bulb in each room for every visit

Note: Print 1 if the bulb is ON, 0 otherwise

I/p: The input is a single line containing a positive integer N representing the number of room in the building

O/p: The output contains N lines each line containing the state of the bulb in the room numbered from 1 to N

Note: These is a space after each 1 or 0

I/p: N=5

1 0 1 0 1

0 1 0 1 0

1 0 1 0 1

0 1 0 1 0

1 0 1 0 1

I/p: N=6

O/p:

1 0 1 0 1 0

0 1 0 1 0 1

1 0 1 0 1 0

0 1 0 1 0 1

1 0 1 0 1 0

0 1 0 1 0 1



Develop a console or GUI turn-based battle game.

Attribute Warrior Tanker

Health Point 100 100

Attack Point Range between 5 - 20 Range between 1 - 10

Defence Point Range between 1 - 10 Range between 5 - 15

Experience Point (EXP) 0 0

Rank/Level > or 1 > or 1




Given the number of the month, write a program to print the name of the month.


Sample Input 2

4

2

3

5

7

Sample Output 2

2


Sample Input 1

5

1

10

4

3

2

Sample Output 1

3



can i get coode for this the above code is not working for both cases


Do you like reading books? If you do, then you must have encountered texts that have quite a wide space with dots in between them, just like pausing or thinking before proceeding the narration. Let's try doing that here in Python,


Make a C++ program using do while loops that will print this output:


*

**

***

****

*****


Make a c++ program using nested loop that will display this output:


11 12 13 14 15

11 12 13 14

11 12 13

11 12

11


LATEST TUTORIALS
APPROVED BY CLIENTS