![PrisonKing3749](/avatars/3849.jpg)
PrisonKing3749
16.12.2020 •
Computers and Technology
Anyone wanna watch a movie or listen to music with me?
Solved
Show answers
More tips
- C Computers and Internet Why is Yandex s robot Bless.yandex.ru Important?...
- S Science and Technology How to Restore the Diamond Shine to Your Tarnished Silverware...
- C Computers and Internet What Are Peers and Seeds in Torrenting?...
- L Leisure and Entertainment How to Find a Phone Number by Address: The Ultimate Guide...
- F Food and Cooking Pu-erh Tea: History, Varieties, Benefits, and Risks...
- S Style and Beauty Why is Sugaring Better than Waxing for Hair Removal?...
- C Computers and Internet How to Delete a Page on VKontakte: The Ultimate Guide from Experts...
- F Food and Cooking How to Make Delicious Plov: Secrets and Recipes...
- H Health and Medicine 10 Simple Techniques on How to Boost Your Mood...
- L Leisure and Entertainment Unlocking the Secrets of Winning the Lottery...
Answers on questions: Computers and Technology
- C Computers and Technology That you Mention krinec kringsShoulda computer before youstarttyping anydocument.Set in...
- C Computers and Technology Multimedia computer system required the following hardware component they are what...
- C Computers and Technology Which option should you select to ignore all tracked changes in a document? to ignore all tracked changes in a document, you should select the option....
- G Geography To predict earthquakes. geologists look for a combination of the following signs: foreshocks, increases in well water levels, and decreases in radon gas in ground water foreshocks,...
- M Mathematics 3examples of a discrete variable?...
- M Mathematics Olve.make suremrs. cain s coleslaw recipe calls for cup of oil, 1 cup ofin each ratvinegar, and cup of sugar. tell whether each statementthe correcis true or false.a. the recipe...
- E English In line 7, what is gregory trying to say with the next metaphor: the world is very much like a large pb& j, filled with many different ingredients ? what is he saying about...
- M Mathematics What is this part of the graphic novel about? what central idea does this page convey to readers? what elements does the author use to develop the central idea?...
- H History Me on numbers 1-5 in the combined vocabulary part( second bottom part)...
- H History Which incident command system element provides a command structure to enable agencies with different legal, jurisdictional, and functional responsibilities to coordinate, plan,...
Ответ:
yessi
Explanation:
Ответ:
Explanation:
First we must import the package import java.util.*;
we create our scanner and we declare our variables and array
We create a for cycle, and inside the for the If sentence to evaluate every number then we print our negative and positive numbers.
numbers[10]
nega
posi
Scanner num = new Scanner(System.in);
int numbers[] = new int[10];
int nega = 0;
int posi = 0;
for(int i=0; i<=9; i++)
{
System.out.print("Enter the number "+ (i+1) +":");
numbers[i] = num.nextInt();
if(numbers[i]<0){
nega++;
}
else
{
posi++;
}
System.out.println("Negative numbers are: " + nega);
System.out.println("Positive numbers are: " + posi);
}