[solved] – Question 83345
1)Write a program which repeatedly reads numbers until the user enters 0. Once 0 is entered, print out the total, count, and average of the numbers. Use an array to store all the numbers.
2)Write a program that will display the result of n! using a loop. For example, if the user enters 5 for n, the program should display “factorial of is 120”.(FOR ALL KINDS OF LOOP)
IF IT POSSIBLE I WANT AN EXPLINATIONS FOR EVERY STEP
Expert Answer
[solved] – Question 83360
5 by 20 array is declared in the Java code (e.g., Data [i][j])
Data[i][0] always has year information which is ranged between 2005 and 2018
Data[i][0] should be randomly assigned
Data[i][1~19] has a random integer which is ranged between 1~100
Expert Answer
[solved] – Question 83362
Write the queries that will do the following:
1. Select the top 10 countries with the most number of ip blocks allocated to it and the number of address blocks in it. Order if from greatest to least.
2. Select the top 10 cities with the most number of ip blocks in the united states and the number of address blocks in it. Order it from greatest to least.
3. Select the cities in the united states that have between 4,000 – 5,000 ip address blocks ordered from least to greatest.
4. Select the average number of ip blocks that would be found in a city for each state. Order it by state from least to greatest or A-Z.
The relational tables are below:
Countries
id(pk)
name
code
CityByCountry
city(pk)
country(fk pointing to id in countries table)
name
state
ip4
ip
country(fk pointing to id in countries table)
city(fk pointing to city in CityByCountry table)
Expert Answer
[solved] – Question 83368
ou often need to do a “prime the read” for counter controlled loops which means that you would input a value before going into the body of the loop.
true or false
Expert Answer
[solved] – Question 83380
2.SumTwenty: Given 2 ints, a and b, print their sum. However, sums in the range 10..19 inclusive, are forbidden, so in that case just print 20.
Expert Answer
[solved] – Question 83381
3.Squirrels: The squirrels in Palo Alto spend most of the day playing. In particular, they play if the temperature is between 60 and 90 (inclusive). Unless it is summer, then the upper limit is 100 instead of 90. Given an int temperature from the user print out to the user if the squirrels can play or not. (You may want to ask if it is summer)
Expert Answer
[solved] – Question 83399
homework 5 funtions next steps, I only started coding and im struggling. This homework sheet is hard and i need answers and help. Thanls
Expert Answer
[solved] – Question 8342
Concerning star patterns: I understand how to print a quantity of lines (containing an equivalent quantity of stars (or other characters), however how would I be able to print a selective number of stars in each line? In other words, the program will first ask the user to enter the total number of stars/characters to be displayed, and then it will repeatedly display the above pattern until the exact number is displayed (for example: input ‘6’ as total number, and the program will print:
*
**
***
*
)
Expert Answer
[solved] – Question 83423
How to check if word is palindrome using one for loop in javascript? (palindrome examples: “noon”, “racecar”)
Expert Answer
[solved] – Question 83477
Write a program that asks the user to enter integer numbers and store the numbers in a two dimensional array, then replace any 9 digit by 0 digit. After that replace the numbers with the odd summations indices by the even summation indices.
Expert Answer

