menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Write the definition of a method printAttitude, which has an int parameter and returns nothing. The method prints a message to standard output depending on the value of its para…
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Write the definition of a method printAttitude, which has an int parameter and returns nothing. The method prints a message to standard output depending on the value of its para…
asked
Mar 11, 2021
110k
views
4
votes
Write the definition of a method printAttitude, which has an int parameter and returns nothing. The method prints a message to standard output depending on the value of its parameter. If the parameter equals 1, the method prints disagree If the parameter equals 2, the method prints no opinion If the parameter equals 3, the method prints agree In the case of other values, the method does nothing. Each message is printed on a line by itself.Here is what I have so far that is being marked incorrect:public static void printAttitude (int x){if (x==1){System.out.println("disagree");}if (x==2){System.out.println("no opinion");} if (x==3){System.out.println("agree");}}Here is the error message that I get:- nothing was printed to stdout- stdout is not correctTest Case TableTest Case x stdout Feedback#1 1 disagree#2 2 no opinion#3 30 - stdout is not correct- nothing was printed to stdout#4 9 - stdout is not correct- nothing was printed to stdout
Computers & Tech
high-school
Jens Schwarzer
asked
by
Jens Schwarzer
8.4k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Answer: If the products equal the reactants, then I disagree
Step-by-step explanation:
Gopherr
answered
Mar 18, 2021
by
Gopherr
7.7k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Oct 2, 2020
94.0k
views
Write the definition of a function printAttitude , which hasan int parameter and returns nothing. The function prints amessage to standard output depending on the value of itsparameter.a.If the parameter
Alirabiee
asked
Oct 2, 2020
by
Alirabiee
8.2k
points
Computers & Tech
high-school
1
answer
3
votes
94.0k
views
asked
Feb 5, 2020
186k
views
Write the definition of a method printAttitude, which has an int parameter and returns nothing. The method prints a message to standard output depending on the value of its parameter. If the parameter
Moltarze
asked
Feb 5, 2020
by
Moltarze
8.0k
points
Computers & Tech
high-school
1
answer
2
votes
186k
views
asked
Dec 27, 2020
151k
views
Write the definition of a method printAttitude, which has an int parameter and returns nothing. The method prints a message to standard output depending on the value of its parameter. If the parameter
Macron
asked
Dec 27, 2020
by
Macron
8.3k
points
Computers & Tech
high-school
1
answer
1
vote
151k
views
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty