![ghadeeraljelawy](/avatars/38281.jpg)
ghadeeraljelawy
18.01.2021 •
Computers and Technology
Keyonnn b u power md why do you delete almost everything i put on here :") why you bully m
Solved
Show answers
More tips
- F Food and Cooking How Many Grams Are In a Tablespoon?...
- L Leisure and Entertainment Carving: History and Techniques for Creating Vegetable and Fruit Decorations...
- P Photography and Videography How to Choose the Perfect Photo Paper for Your Images?...
- H Health and Medicine What vaccines do children need?...
- H Health and Medicine Reasons for the Appearance of Warts: Everything You Need to Know...
- A Art and Culture How to Learn Screaming: Step-by-Step Guide for Beginners...
- H Health and Medicine Contraceptive Pills After 35: The Importance Of Choosing The Right Medication...
- C Computers and Internet How to Choose a Monitor?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
Answers on questions: Computers and Technology
- C Computers and Technology What are the requirements of a data dictionary ?...
- C Computers and Technology Amanda is negotiating a new applicant tracking service for her department with a software vendor. she intends to make the first offer and has researched to be sure it is an aggressive,...
- C Computers and Technology What is the output of this code? import java.util.hashset; class a { public static void main(string[ ] args) { hashset set = new hashset(); set.add( a ); set.add( b ); set.add(...
- M Mathematics In a geometry class,the girl to boy ratio is 10 to 2.if there are a total of 24 students,how many girls are there?...
- M Mathematics Me i need to answer this question tonight...
- H Health Why does the blood returning to the heart have very little oxygen in it? a)the heart is not pumping oxygen fast enough b)the cells throughout the body used the oxygen. c)the heart...
- M Mathematics How many terms are there in the expression 2x - 5y + 3 + x?...
- H History What were the results of the war of 1812? 1) many individuals had lost their jobs and didn’t have proper living conditions 2) there were more economic issues and a torn country...
- H Health Explain the importance of following the rules while participating in sports....
- C Chemistry The unknown concentration of naoh was determined by titration with hcl. the following data was collected: ml naoh = 34.8 ml ml of hcl used = 29.6 ml concentration of hcl = 0.19...
Ответ:
ha!
Explanation:
Ответ:
yes i love it
Explanation:
Ответ:
Explanation:
The solution code is written in Java.
Firstly, we create a Scanner object (Line 6) and use it get user input for first and second number (Line 10-13). We create a for loop and use modulus to check the current number is divisible by 2 and print out the odd number in loop (Line 15-19). We repeat the similar step to print the even number but at the same time, we also add the current number to evenSum variable and print the sum after the for loop (Line 23-33).
Next, we proceed to use another for loop to print out the number and their squares and then accumulate the sum of squares of all odd numbers (Line 36-41).
At last, we print out the sum of squares of odd numbers (Line 43).
In the do while loop condition, if firstNum is smaller than secondNumber, the loop is ongoing (Line 45).