menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
One line of code is missing (marked in red). Write a single line that MUST use the class function "plus" to increase the value of num1.number. When done correctly, this code already will print the new
asked
Oct 11, 2022
135k
views
5
votes
One line of code is missing (marked in
red). Write a single line that MUST use the
class function "plus" to increase the value
of num1.number.
When done correctly, this code already will
print the new value of num1.number.
Computers and Technology
high-school
Fernando Lara
asked
by
Fernando Lara
7.7k
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: num1.plus(1);
Step-by-step explanation:
CelinHC
answered
Oct 17, 2022
by
CelinHC
7.9k
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
Mar 25, 2024
48.3k
views
What is output? def calc(num1, num2): print(1 + num1 + num2, enda) calc(4,5) calc(1, 2) a. 93 b. 104 O c. 145 112 O d.4,5, 1, 2
Guillaume Georges
asked
Mar 25, 2024
by
Guillaume Georges
8.9k
points
Engineering
college
1
answer
4
votes
48.3k
views
asked
Sep 1, 2024
92.3k
views
Consider the following code segment, which is intended to display 0.5. int num1 = 5; int num2 = 10; double ans = num1 / num2; System.out.print(ans); Which of the following best describes the error, if
Jan Kuri
asked
Sep 1, 2024
by
Jan Kuri
7.4k
points
Computers and Technology
high-school
1
answer
4
votes
92.3k
views
asked
Aug 25, 2024
108k
views
Def addNum(num1 = 10):print(num1 + num1) Choose the correct output of calling the above function using the following code: a. addNum() b. 0 c. 10 d. 20 c. An Error
Johannes Brodwall
asked
Aug 25, 2024
by
Johannes Brodwall
7.6k
points
Computers and Technology
high-school
1
answer
2
votes
108k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
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!
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
What is an example of a dedicated computer system?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org