using SWITCH selection statement
Write a Program that will ask the user to accept 5
integers, select an arithmetic operation for odd
and even, and perform the corresponding
operation.
Enter the first number: 34
Enter the second number: 25
Enter the third number: 62
Enter the fourth number: 13
Enter the fifth number: 27
Choose which operation you want to perform:
1. Addition
2. Subtraction
Enter the operation of odd: 1
Enter the operation of even: 2
The sum of odd numbers is: 65
The difference of even numbers is: -28
Write a program that prompts the user to enter an integer and determines
whether it is divisible by 5 and 6, whether it is divisible by 5 or 6, and whether
it is divisible by 5 or 6, but not both
Find latitude and longitude of first 20 countries with a population greater than or equal to the population limit given below. Use the country details from this dataset(https://cdn.jsdelivr.net/gh/apilayer/restcountries@3dc0fb110cd97bce9ddf27b3e8e1f7fbe115dc3c/src/main/resources/countriesV2.json).
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 :300
8.3) write a program for the development board that repeatedly counts:
• from 0 to 9 in 1-second increments
input ten values and get the average temperature for that day. if the average temperature value is in between 970Fahrenheit and 990 Fahrenheit then display the message “Your body temperature is normal…”. If it is more than 104.0 Fahrenheit then display the message “You have a fever caused by an infection or illness…
myList = list(range(0,10))
for x in myList:
print(myList[x]/myList[x-1])Please fix the error
Develop and deploy a web based “Programme Information System” using JSP, any database backend and any web server. Your system should use JDBC for input of information to both the tables
Write and run an algorithm for a TCP client and a TCP server with the following specifications: (i) The server should be able to handle at least 5 clients concurrently (ii) A client program sends a string to a server. (iii) The server program converts lower case latters to upper case letters and vice versa. (iv) The converted string is returned to the client. (v) The client program prints the result.
Install and configure the SMTP server on Linux OS and write all the steps
Write a Python function called sumList () which will receive a list of integers as input parameter. sumList() must: a) Print the list b) Sum all the numbers in a list and print the total. The main section of your program must: c) Ask the user how many numbers the list should contain; d) Create the list accordingly (containing randomly generated integers between 0 and 100); e) Pass the list to sumList () for processin