Answer:
a=4 , b=1
Explanation:
I'm not a computer science major at all but I think I can help you with this code.
Our program wants us to add 2 to a get new a value while also subtracting 1 from b value to obtain new b value. We we want to for for as long b is not 0 and a/b is nonnegative.
One round we get:
New a=0+2=2
New b=3-1=2
Let's see if we can go another round:
New a=2+2=4
New b=2-1=1
We can't go another round because b would be negative while a is positive which would make a/b negative. So our loop stops at this 2nd round.
a=4 , b=1
Other notes:
2nd choice makes no sense because a is always going to increase because of the addition on a and b was going to decrease because of the subtraction on it.
Third choice makes no sense because a/b doesn't even exist.
Fourth choice a/b is negative not nonnegative.
Your question wasn't very clear, but I think I understand what you want. Additionally, you should really state what language you're working with. Here it is in C#, and shouldn't be too much of a hassle to translate in to other languages.
Console.Write("Enter payment: ");
float payment;
if (float.TryParse(Console.ReadLine(), out payment))
Console.WriteLine((Math.Floor(payment * 100) / 100) * 0.15, + " at 15% tip.");
else
Console.WriteLine("Invalid input.");
The user documents are stored in _______ format.
A. qvd.
B. qvw
C. None of the options
D. qvs.
Answer:
B. qvw
Explanation:
Given the options available, it can be inferred that the application the question is referring to is called QlikView which is a software application that is used for analytics explanation. This software applications saves documents created in a file extension specifically known as "QVW."
Hence, the right answer is that: in QlikView, the user documents are stored in QVW format.
The test that a computer needs to pass after a human's conversation with it and not be able to tell if it was a machine or a human is; Turing Test
<h3>Test of Computers</h3>
The correct answer to the blank portion of the question is Turing test. This is because Turing Test is a test of a computer's ability to exhibit intelligent behavior that is equivalent to, or indistinguishable from, that of a human's behavior.
Finally, If the evaluator cannot reliably tell the computer from the human, the machine is said to have passed the test.
Read more about Test of Computer at; brainly.com/question/21283135
There are three types of traffic in an IP network:
1. Unicast - one-to-one traffic (traffic from one sender to one receiver)
2. Multicast - one to many traffic (one sender and more receivers)
3.Broadcast - every device in the network will receive the packet
So, the broadcast traffic <span>always goes to all devices in a subnet. </span>