Write a program whose inputs are three integers, and whose output is the smallest of the three values. Use else-if selection and comparative operators such as '<=' or '>=' to evaluate the number that is the smallest value. If one or more values are the same and the lowest value your program should be able to report the lowest value correctly. Don't forget to first scanf in the users input.

Ex: If the input is: 7 15 3
the output is: 3

You should sketch out a simple flowchart to help you understand the conditions and the evaluations needed to determine what number is the correct answer. This type of tool can help determine flaws in a logical design.

Answers

Answer 1

Answer:

The Program written in C is as follows:

#include <stdio.h>

int main() {

   int num1, num2, num3, smallest;

   printf("Enter any three numbers: ");

   scanf("%d", &num1);    scanf("%d", &num2);    scanf("%d", &num3);

   if(num1 <= num2 && num1 <= num3) {

       smallest = num1;

   }

   else if(num2 <= num1 && num2 <= num3) {

       smallest = num2;

   }

   else {

       smallest = num3;

   }

   printf("Smallest: ");

   printf("%d", num3);

   return 0;

}

Explanation:

This line declares necessary variables

int num1, num2, num3, smallest;

This line prompts user for input of three numbers

   printf("Enter any three numbers: ");

This lines get input for the three numbers

   scanf("%d", &num1);    scanf("%d", &num2);    scanf("%d", &num3);

The following if/else statements determine the smallest of num1, num2 and num3 and assigns to variable smallest, afterwards

   if(num1 <= num2 && num1 <= num3) {

       smallest = num1;

   }

   else if(num2 <= num1 && num2 <= num3) {

       smallest = num2;

   }

   else {

       smallest = num3;

   }

The next two lines print the smallest value

   printf("Smallest: ");

   printf("%d", num3);


Related Questions

Java Eclipse Homework JoggerPro
Over a seven day period, a jogger wants to figure out the average number of miles she runs each day.

Use the following information to create the necessary code. You will need to use a loop in this code.

The following variables will need to be of type “double:”
miles, totalMiles, average

Show a title on the screen for the program.
Ask the user if they want to run the program.
If their answer is a capital or a lowercase letter ‘Y’, do the following:
Set totalMiles to 0.
Do seven times (for loop)
{

Show which day (number) you are on and ask for the number of miles for this day.
Add the miles to the total
}

Show the total number of miles
Calculate the average
Show the average mileage with decimals
Use attractive displays and good spacing.
Save your completed code according to your teacher’s directions.

Answers

import java.util.Scanner;

public class JoggerPro {

   public static void main(String[] args) {

       String days[] = {"Monday?", "Tuesday?", "Wednesday?", "Thursday?","Friday?","Saturday?","Sunday?"};

       System.out.println("Welcome to JoggerPro!");

       Scanner myObj = new Scanner(System.in);

       System.out.println("Do you want to continue?");

       String answer = myObj.nextLine();

       if (answer.toLowerCase().equals("y")){

           double totalMiles = 0;

           for (int i =0; i < 7; i++){

               System.out.println(" ");

               System.out.println("How many miles did you jog on " + days[i]);

               double miles = myObj.nextDouble();

               totalMiles += miles;

           }

           double average = totalMiles / 7;

           System.out.println(" ");

           System.out.println("You ran a total of " + totalMiles+ " for the week.");

           System.out.println(" ");

           System.out.println("The average mileage is " + average);

       }

       

   }

   

}

I'm pretty sure this is what you're looking for. I hope this helps!

Which of the following is NOT a period of the Middle Ages?
Early Middle Ages
O Late Middle Ages
O High Middle Ages
O New Middle Ages
allowing is NOT an artifact of the Information Age?

Answers

High middle ages is the answer

The one that is not a period of the Middle Ages is the High Middle Ages. The correct option is c.

What are different ages?

The Middle Ages, which roughly correspond to the years 500 to 1400–1500 BCE, is the term used to describe this time of European history. The phrase was initially used by academics in the 15th century to refer to the time frame between their own era and the dissolution of the Western Roman Empire.

The period between the fall of Imperial Rome and the start of Early Modern Europe is referred to as the “Middle Ages” for this reason. The reason the Middle Ages are known as the Dark Ages is that life was hard and brief in Europe, and contrasted with the orderliness of classical antiquity.

The time period in European history from roughly 500 AD to 1500 AD. This time period's early years are commonly referred to as the Dark Ages.

Therefore, the correct option is c, High Middle Ages.

To learn more about the middle ages, refer to the link:

https://brainly.com/question/26586178

#SPJ6

In Microsoft windows which of the following typically happens by default when I file is double clicked

Answers

Answer:

when a file is double clicked it opens so you can see the file.

Explanation:

Write a program which simulate rolling dice. When the program runs, it will prompt the user to choose a number ranging from 1 to 6. It will then randomly choose a number between 1 and 6. The program will print the message "Your guess is correct!" if the guess number equals to the dice number, otherwise it will print "Wow! The dice number is --.". It should then ask the user if you’d like to roll again. Enter "1" to roll again and enter "0" to end the game. Concepts to keep in mind:

Concepts to keep in mind:
• Random
• Integer
• Print
• While Loops

Output:
Enter your guess number between 1 and 6: 5
Wow! The dice number is 1
Do you want to dice it up again:Enter 1 and if not enter 01
Enter your guess number between 1 and 6: 4
Wow! The dice number is 1
Do you want to dice it up again:Enter 1 and if not enter 01

Answers

Answer:

Written in Python

import random

tryagain = 1

while tryagain == 1:

guess = int(input("Enter your guess number between 1 and 6: "))

num = random.randint(1,7)

if guess == num:

print("Your guess is correct")

else:

print("Wow, the dice number is "+str(num))

tryagain = int(input("Do you want to dice it up again:Enter 1 and if not enter 0: "))

Explanation:

I've added the full source code as an image attachment where I used comments to explain difficult lines

Compare and contrast between flowcharts that involve:
-simple logic flow and

-simple logic flow with a two way branch

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The solution to this question is given in the attached word file.  

Plz answer me will mark as brainliest ​

Answers

1 plus 1 is too and three to four is 111

Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: System.out.printf("Amount: $%.2f\n", dollars); Ex: If the input is: 4 3 2 1 where 4 is the number of quarters, 3 is the number of dimes, 2 is the number of nickels, and 1 is the number of pennies, the output is: Amount: $1.41 For simplicity, assume input is non-negative.
LAB ACTIVITY 2.32.1: LAB: Convert to dollars 0/10 LabProgram.java Load default template. 1 import java.util.Scanner; 2 3 public class LabProgram 4 public static void main(String[] args) { 5 Scanner scnr = new Scanner(System.in); 6 7 /* Type your code here. */|| 8 9) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) 1 LabProgram.java (Your program) Output (shown below) Program output displayed here

Answers

Answer:

The corrected program is:

import java.util.Scanner;

public class LabProgram{

public static void main(String[] args) {

Scanner scnr = new Scanner(System.in);

int qtr, dime, nickel, penny;

double dollars;

System.out.print("Quarters: ");

qtr =scnr.nextInt();

System.out.print("Dimes: ");

dime = scnr.nextInt();

System.out.print("Nickel: ");

nickel = scnr.nextInt();

System.out.print("Penny: ");

penny = scnr.nextInt();

dollars = qtr * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;

System.out.printf("Amount: $%.2f\n", dollars);

System.out.print((dollars * 100)+" cents");

}

}

Explanation:

I've added the full program as an attachment where I used comments as explanation

Jax needs to write a block of code that will organize a list of items alphabetically. Which function should he use? append() print() sort() order()

Answers

In python, the sort() function will alphabetically sort a list of strings

To write a block of code that will organize a list of items alphabetically  In python, the sort() function will alphabetically sort a list of strings.

What is python?

A high-level, all-purpose programming language is Python. Code readability is prioritized in its design philosophy, which makes heavy use of indentation. Python uses garbage collection and has dynamic typing. It supports a variety of paradigms for programming, including functional, object-oriented, and structured programming.

Python is a popular computer programming language used to create software and websites, automate processes, and analyze data. Python is a general-purpose language, which means it may be used to make many various types of applications and isn't tailored for any particular issues.

Sorting in Python simply means putting the data in a specific format or order. The order of the data pieces can be sorted either ascendingly or descendingly. Python programming contains certain built-in functions that allow you to sort the list's elements, just like C++ and Java.

Therefore, Thus option (C) is correct.

Learn more about python here:

https://brainly.com/question/18502436

#SPJ2

Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate the risks associated with future investment decisions, and offers his clients real-time information immediately. Which type of data processing is Jason following in the transaction processing system?

A.
online decision support system
B.
online transaction processing
C.
online office support processing
D.
online batch processing
E.
online executive processing

Answers

I believe the answer is A. because he has to listen to what the people tell him and he information he has to think about and make a choice on what to reply with.

I hope this helps and its correct please let me know if its wrong have a great day//night.

What are the benefits of computer?

Answers

Answer:

online toutoring.

helpful games give mind relaxation.

Increase your productivity. ...
Connects you to the Internet. ...
Can store vast amounts of information and reduce waste. ...
Helps sort, organize, and search through information. ...
Get a better understanding of data. ...
Keeps you connected.

Write code that prints: Ready! numVal ... 2 1 Start! Your code should contain a for loop. Print a newline after each number and after each line of text Ex: numVal

Answers

Answer:

Written in Python

numVal = int(input("Input: "))

for i in range(numVal,0,-1):

    print(i)

print("Ready!")

Explanation:

This line prompts user for numVal

numVal = int(input("Input: "))

This line iterates from numVal to 1

for i in range(numVal,0,-1):

This line prints digits in descending order

    print(i)

This line prints the string "Ready!"

print("Ready!")

what is the provincial capital of lumbini province​

Answers

Answer:

hope it helps..

Explanation:

Butwal(recently changed again) , Rupendhai District

My Mac is stuck on this screen? How to fix?

Answers

Answer:

Press and hold the power button for up to 10 seconds, until your Mac turns off. If that doesn't work, try using a cellular device to contact Apple Support.

Explanation:

If that also doesn't work try click the following keys altogether:

(press Command-Control-Eject on your keyboard)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This makes the laptop (macOS) instruct to restart immediately.

Hopefully this helps! If you need any additional help, feel free and don't hesitate to comment here or private message me!. Have a nice day/night! :))))

Another Tip:

(Press the shift, control, and option keys at the same time. While you are pressing those keys, also hold the power button along with that.)

(For at least 10 seconds)

B1:B4 is a search table or a lookup value

Answers

Answer:

lookup value

Explanation:

Select a cybersecurity career that interests you. Describe the job duties and identify the skills required to excel in that career. Then, make a career plan.

Answers

Answer:

it's business

Explanation:

business you started with small and work for it grow up.

Read the following code:


x = 1

while(x < 26)

print(x)

x = x + 1


There is an error in the while loop. What should be fixed?


1. Add a colon to the end of the statement

2. Begin the statement with the keyword count

3. Change the parentheses around the test condition to quotation marks

4. Use quotation marks around the relational operator

Answers

This is python code.

In python, you are supposed to put a colon at the end of while loops. This code does not have a colon after the while loop, therefore, you need to add a colon to the end of the statement.

The error to be fixed in the while loop is to add a colon at the end of the while statements.

x = 1

while (x<26)

     print(x)

     x = x + 1

This is the right code;

x = 1

while(x < 26):

   print(x)

   x = x + 1

The actual code , the while statement is missing a colon at the end of it.

The code is written in python. In python while or for loops statements always ends with a colon.

In the error code, there was no colon at the end of the while loop.

The right codes which I have written will print the value 1 to 25.

learn more on python loop here: https://brainly.com/question/19129298?referrer=searchResults

Read the following code:


n = 3

while(n <= 5):

print(n)

n = n + 1


What output would be produced for the given values of n?


A. 0 1 2 3 4

B. 1 2 3 4 5

C. 2 3 4

D. 3 4 5

Answers

The code will print out 3 4 5

Answer choice D is correct.

The output that would be produced for the given values of n is 3 4 5. The correct option is D.

What are codes?

Codes Program is a free developer platform where programmers can learn and share their knowledge. It is regarded as the simplest application development method, and it is frequently used as the standard (method).

Fixing code well into the software program because they discovered an error while composing the program, then he will modify the program, and then they will fix it again.

Less formally, code refers to text written for markup or styling languages such as HTML and CSS (Cascading Style Sheets). Good code is written in such a way that it is readable, understandable, covered by automated tests, not overly complicated, and does the job well."

Therefore, the correct option is D. 3 4 5.

To learn more about codes, refer to the below link:

https://brainly.com/question/14461424

#SPJ2

The fraction 460/7 is closest to which of the following whole numbers?

Answers

I don’t see any of “the following numbers”

What are two examples of items in Outlook?

a task and a calendar entry
an e-mail message and an e-mail address
an e-mail address and a button
a button and a tool bar

Answers

Answer:

a task and a calendar entry

Explanation:

ITS RIGHT

Answer:

its A) a task and a calendar entry

Explanation:

correct on e2020

Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate the risks associated with future investment decisions, and offers his clients real-time information immediately. Which type of data processing is Jason following in the transaction processing system?

A.
online decision support system
B.
online transaction processing
C.
online office support processing
D.
online batch processing
E.
online executive processing

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is online decision support system. Because the decision support systems process the data, evaluate and predict the decision, and helps the decision-makers,  and offer real time information immediately in making the decision in an organization. So the correct answer to this question is the decision supports system.

Why other options are not correct

Because the transaction processing system can only process the transaction and have not the capability to make the decision for the future. Office support processing system support office work, while the batch processing system process the task into the batch without user involvement.   however, online executive processing does not make decisions and offer timely information to decision-makers in an organization.

Consider a Stop-and-Wait protocol. Assume constant delays for all transmissions and the same delay for packets sent and ACKs sent. Assume no errors occur during transmission.
(a) Suppose that the timeout value is set to 1/2 of what is required to receive an acknowledgement, from the time a packet is sent. Give the complete sequence of frame exchanges when the sender has 3 frames to send to the receiver.
(b) Suppose that the timeout value is sent to 2 times the round trip time. Give the sequence of frame exchanges when 3 frames are sent but the first frame is lost.

Answers

Explanation:

question a) answer:

At the moment when it sends the package, then it has a waiting time for the acknowledgement from the receiver, however, the time will be split in two when the frameset size becomes two, meaning that two packages have been sent together, causing the receiver to acknowledge only one package.

question b) answer:

The timeout is equal to two times.

In cases when the frame size is 3, the frame will be lost since the timeout turns to be 2 times. Because the sender has to wait for the acknowledgement, therefore it will send other of the parcels.

Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate the risks associated with future investment decisions, and offers his clients real-time information immediately. Which type of data processing is Jason following in the transaction processing system?

A.
online decision support system
B.
online transaction processing
C.
online office support processing
D.
online batch processing
E.
online executive processing

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is an online decision support system. Because the decision support systems process the data, evaluate and predict the decision, and helps the decision-makers,  and offer real-time information immediately in making the decision in an organization. So the correct answer to this question is the decision supports system.

Why other options are not correct

Because the transaction processing system can only process the transaction and have not the capability to make the decision for the future. Office support processing system support office work, while the batch processing system process the task into the batch without user involvement.   however, online executive processing does not make decisions and offer timely information to decision-makers in an organization.

Answer: the answer is A.

Explanation: He has to listen to what the people tell him and think about the information he has and make a choice on what to reply with.

the language is Java! please help

Answers

public class Drive {

   int miles;

   int gas;

   String carType;

   public String getGas(){

       return Integer.toBinaryString(gas);

   }

   public Drive(String driveCarType){

       carType = driveCarType;

   }

   public static void main(String [] args){

       System.out.println("Hello World!");

   }

   

}

I'm pretty new to Java myself, but I think this is what you wanted. I hope this helps!

Using Phyton

Write a program with the following functions.

function 1: Accepts 2 strings as arguments. returns true if the second string is a part of the first string.

Answers

def something(string1, string2):

return True if string2 in string1 else False

This would be the most concise way of writing this function.

The government of a country wants to know how much inbound tourism (number of tourists visiting from other countries) is contributing to the country’s economic prosperity. The research firm hired to conduct this study surveys 10,000 residents on their favorite spots to visit in the country and how much money they spend on leisurely activities

a. How could the use of a sample like this threaten the value of the study’s outcomes?

b. How might the flawed sample affect the usefulness of the results?

Answers

Answer and Explanation:

A. The study by the research team may not reflect the purpose of the research which is to know how much inbound tourism is contributing to the economy. They are sampling the population on their favorite spots to visit( which may be too narrow here) and what their leisure activities are (which are not the only things tourists spend on). Also 10000 residents may be too small as a sample to reflect more accurate study outcome representative of the population.

2. A flawed sample which is a sampling error would not represent the population as the results from sample would contradict population results

Write a program, weeklypay.m, that asks an employee to enter their hourly rate and the number of hours they worked for the week. Then have the program calculate and display their weekly pay. pay

Answers

Answer:

Follows are the code to this question:

def weeklypay(hour_rate,hour ):#defining a method weeklypay that accepts two parameters

   pay=hour_rate* hour#defining variable pay that calculate payable amount

   return pay#return pay value

hour_rate=float(input("Enter your hour rate $: "))#defining variable hour_rate that accepts rate vlue

hour=int(input("Enter total hours: "))#defining hour variable that accepts hour value

print('The total amount you will get $: ',weeklypay(hour_rate,hour))#call method and print return value

Output:

Enter your hour rate $: 300

Enter total hours: 3

The total amount you will get $:  900.0

Explanation:

In the above-given code, a method "weeklypay" is declared, which holds two value "hour_rate and hour" in its parameter, inside a method a "pay" variable is declared, that calculate the total payable amount of the given inputs and return its value.

In the next step, the above variable is used to input the value from the user-end and uses the print method to call the "weeklypay" method and print its return value.

Write a program that simulates flipping a coin to make decisions. The input is how many decisions are needed, and the output is either heads or tails. Assume the input is a value greater than 0.

Answers

Answer:

import random

decisions = int(input("How many decisions: "))

for i in range(decisions):

   number = random.randint(0, 1)

   if number == 0:

       print("heads")

   else:

       print("tails")

Explanation:

*The code is in Python.

import the random to be able to generate random numbers

Ask the user to enter the number of decisions

Create a for loop that iterates number of decisions times. For each round; generate a number between 0 and 1 using the randint() method. Check the number. If it is equal to 0, print "heads". Otherwise, print "tails"

Write a Python code to ask a user to enter students' information including name,
last name and student ID number. The program should continue prompting the
user to enter information until the user enters zero. Then the program enters
search mode. In this mode, the user can enter a student ID number to retrieve
the corresponding student's information. If the user enters zero, the program
stops. (Hint: consider using list of lists)​

Answers

database = ([[]])

while True:

   first_name = input("Enter the student's first name: ")

   if first_name == "0":

       while True:

           search = input("Enter a student ID number to find a specific student: ")

           if [] in database:

               database.pop(0)

           if search == "0":

               exit()

           k = 0

           for w in database:

               for i in database:

                   if i[2] == search:

                       print("ID number: {} yields student: {} {}".format(i[2], i[0], i[1]))

                       search = 0

   last_name = input("Enter the student's last name: ")

   id_number = input("Enter the student's ID number: ")

   database.append([first_name, last_name, id_number])

I hope this helps!

The Beaufort Wind Scale is used to characterize the strength of winds. The scale uses integer values and goes from a force of 0, which is no wind, up to 12, which is a hurricane. The following script first generates a random force value. Then, it prints a message regarding what type of wind that force represents, using a switch statement. If random number generated is 0, then print "there is no wind", if 1 to 6 then print "this is a breeze", if 7 to 9 "this is a gale", if 10 to 11 print "this is a storm", if 12 print "this is a hurricane!". (Hint: use range or multiple values in case statements like case {1,2,3,4,5,6})

Required:
Re-write this switch statement as one nested if-else statement that accomplishes exactly the same thing. You may use else and/or elseif clauses.

ranforce = randi([0, 12]);
switch ranforce
case 0
disp('There is no wind')
case {1,2,3,4,5,6}
disp('There is a breeze')
case {7,8,9}
disp('This is a gale')
case {10,11}
disp('It is a storm')
case 12
disp('Hello, Hurricane!')
end

Answers

Answer:

The equivalent if statements is:

ranforce = randi([0, 12]);

if (ranforce == 0)

     disp('There is no wind')

else  if(ranforce>0 && ranforce <7)

     disp('There is a breeze')

else  if(ranforce>6 && ranforce <10)

     disp('This is a gale')

else  if(ranforce>9 && ranforce <12)

     disp('It is a storm')

else  if(ranforce==12)

     disp('Hello, Hurricane!')

end

Explanation:

The solution is straight forward.

All you need to do is to replace the case statements with corresponding if or else if statements as shown in the answer section

What is his resolution amount

Answers

I think it’s 92 I mean yh
Other Questions
WILL GIVE BRAINLEIST FOR FIRST ANSWER Why I cannot simplify P-2l further A consequence of "yo-yo" dieting is thatA. the body will actually store more fat around the waist. B. a person will develop allergies to certain foods. cholesterol levels will increase. D. the chances of developing diabetes will increase. Base area of a room is 34m^2 and height of the room is 10m. Find the volume Which fundamental key allows interests to influence and gain the attention ofgovernment? HELP ME PLS ITS DUE TODAY :(( What was the economic benefit of South Carolina becoming a royal colony?(Choose two that apply)Merchants were allowed to sell rice directly to foreign countries.Colonists were allowed to have a say in Parliament.The English government increased subsidies for naval stores.Merchants were allowed to sell all crops to the open market, especially to France. Which multimedia element would best appeal to an audience's sense of ethics in a presentation about managingprivacy in the healthcare system?an interview with a database developer who specializes in privacy issuesan online database of a doctor's list of current patientsa video testimonial about a doctor using a patient's records for improper reasonsa video of a patient looking up his or her profile online Susan drove 50 miles on her trip before Rick began his drive. Susan drives at a rate of 30 miles per hour and Rick drives at a rate of 45 miles per hour. Write an equation to represent the situation where Susan and Rick will have driven the same miles. Wholemark is an Internet order business that sells one popular New Year greeting card once a year. The cost of the paper on which the card is printed is $0.40 per card, and the cost of printing is $0.10 per card. The company receives $3.75 per card sold. Since the cards have the current year printed on them, unsold cards have no salvage value. Their customers are from the four areas: Los Angeles, Santa Monica, Hollywood, and Pasadena. Based on past data, the number of customers from each of the four regions is normally distributed with mean 2,300 and standard deviation 200. (Assume these four are independent.)What is the optimal production quantity for the card? What qualified a citizen in the Han Dynasty to hold a government job?1. knowledge of advanced science and mathematics2. belonging by blood or marriage to the royal family3. enough money to bribe a government official4. advanced education in Confucian principles I dont understand what this means What was passed after the end of the French and Indian War and would notallow colonists to move passed the Appalachian Mountains which angeredmany colonists? A: Emancipation Proclamation B: The Proclamation of 1763C: The Immaculate Reception D: The Proclamation of Neutrality HELPPPPPPPPPPPPPPPPP If x an y are natural numbers then x-y is a natural number what is the converse of this statement Those high school students are old enough to go to themovie byChoose the correct reflexive pronoun to complete thesentence.O myselfO yourselfO themselvesO ourselves The following trial balance of Blues Traveler Corporation does not balance. Blues Traveler Corporation Trial Balance April 30, 2020 Debit Credit Cash $5,912 Accounts Receivable 5,240 Supplies 2,967 Equipment 6,100 Accounts Payable $7,044 Common Stock 8,000 Retained Earnings 2,000 Service Revenue 5,200 Office Expense 4,320 00000 $24,539 $22,244 An examination of the ledger shows these errors. 1. Cash received from a customer on account was recorded (both debit and credit) as $1,380 instead of $1,830. 2. The purchase on account of a computer costing $3,200 was recorded as a debit to Office Expense and a credit to Accounts Payable. 3. Services were performed on account for a client, $2,250, for which Accounts Receivable was debited $2,250 and Service Revenue was credited $225. 4. A payment of $95 for telephone charges was entered as a debit to Office Expense and a debit to Cash. 5. The Service Revenue account was totaled at $5,200 instead of $5,280.Required:From this information prepare a corrected trial balance. A designer determined the annual profit in dollars from selling t- shirts using p (n) = 10n - 50, where n the number t-shirts sold. What is the annual profit if the designer sells 100 t- shirts F. $8,050G. 10,000H. 1,000J. $950 explain the relationship between a strategy such as number sense and a written method such as partial products or area models for multiplying decimal numbers Which equation represents the line that is parallel to 5x +y = 13 and passes through the point (15,-31)? Show complete working format please