Hello!
I believe the correct answer is C.
I hope it helps!
Based on the tax bracket that made by united states government in 2018 , single adult who made between 0 - $ 9,500 each year are subjected to a 10% tax rate.
assuming that joey does not have additional deductibles, The amount that joey need to pay in taxes would be:
$ 9,500 x 10% = $ 950
Answer:
Following are the program in the Python Programming Language.
#declare variables and initialize to 0
s=0
n=0
avg=0
#set the infinite while loop
while(True):
#get input from the user
score=input()
#set if statement to break loop
if(score =="stop"):
break
#otherwise, perform calculation
else:
n+= 1
s=s+ int(score)
avg= s/n
#print average of the input
print ('average: ',avg)
<u>Output</u>:
58
96
34
15
stop
average: 50.75
Explanation:
<u>Following are the description of the program</u>.
- Firstly, set three variable that is 's' for sum, 'n' for count and 'avg' for average and initialize them to 0.
- Set the infinite while loop and inside it, set variable 'score' that get input from the user then, set the if conditional statement for break the loop, otherwise we calculate the sum of the user input and calculate its average.
- Finally, we print the result with message.
Answer:
BufferedReader
Explanation:
There are many ways for reading a file. Many classes independently or with combination can be used for this purpose.
Option (a) BufferedReader class can be used to read data of a file.
Option (b) The System class contains methods which are useful to conduct IO ( Input Output ) operations like Standard Input and Standard Output.This class cannot be used to read a file. So, option (b) is not correct answer.
Option (c) and (d) Even though the names ReadFile and FileRead seems to be classes related to reading a file but there are no classes with the names ReadFile and FileRead. Infact there is a class named "FileReader" which can be used to read a file along with "BufferedReader" class. So, options (c) and (d) are not correct answers.
Answer:
Client
Explanation:
When your computer is connected to the internet it is always asking and sending data. Your computer is the client which recieves the data from the sever.