menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Write an if else statement that assigns 0 to the variable b and assigns 1 to the variable c if the variable a is less than 10. Otherwise, it should assign -99 to the variable b …
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Write an if else statement that assigns 0 to the variable b and assigns 1 to the variable c if the variable a is less than 10. Otherwise, it should assign -99 to the variable b …
asked
Jul 15, 2020
182k
views
1
vote
Write an if else statement that assigns 0 to the variable b and assigns 1 to the variable c if the variable a is less than 10. Otherwise, it should assign -99 to the variable b and assign 0 to the variable c.
Computers & Tech
college
Shah
asked
by
Shah
8.1k
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(a < 10)
{ b = 0; c = 1;}
else
{ b = -99; c = 0;}
Step-by-step explanation:
Swinn
answered
Jul 18, 2020
by
Swinn
8.2k
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
Nov 23, 2024
71.0k
views
Assume the variable s references a string. Write an if-else statement that assigns True to the status variable if s ends with "ism". Otherwise, assign False to status.
Travis Watson
asked
Nov 23, 2024
by
Travis Watson
7.7k
points
Computers & Tech
high-school
1
answer
1
vote
71.0k
views
asked
Oct 24, 2020
203k
views
Write an if/else statement that assigns 0 to x when y is equal to 10; otherwise it should assign 1 to x.
David Asaf
asked
Oct 24, 2020
by
David Asaf
7.4k
points
Computers & Tech
college
1
answer
4
votes
203k
views
asked
Dec 9, 2021
118k
views
Write an if statement that assigns 100 to x when y is equal to 0. 32. Write an if/else statement that assigns 0 to x when y is equal to 10. Otherwise it should assign 1 to x. 33. Using the following chart,
Bluedot
asked
Dec 9, 2021
by
Bluedot
8.8k
points
Computers & Tech
college
1
answer
0
votes
118k
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
“What does it mean when we “rework” copyrighted material?”
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.
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