1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nitella [24]
3 years ago
8

Sales Prediction A company has determined that its annual profit is typically 23 percent of total sales. Design a program that a

sks the user to enter the projected amount of total sales, and then displays the profit that will be made from that amount. Hint: Use the value 0.23 to represent 23 percent
Computers and Technology
1 answer:
Brut [27]3 years ago
3 0

Answer:

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

Explanation:

 This question is about calculating the profit from the annual projected sales of a company.      

You can calculate the profit by using the following formula:

profit = annual projected sales x annual profit.

So, the code (solution) is given below, however, it is noted that this program is written in c++ language.

#include <iostream>

using namespace std;

int main()

{

   long double annualProfitPercentage=0.23;// annual profit 23%.

   long double projectedSales,profit;/* declare variable to store the annual projected sales and profit */

   cout<<"*********Sales Prediction*********\n"; //output heading

   cout<<"\nEnter the project amount of total sales: ";// take input from user

   cin>>projectedSales;// store input into variable projectedSales

   

   profit = projectedSales *  annualProfitPercentage;//calculate profit

   cout<<"Profit is: "<<profit;//print result

   

   

   

   return 0;

}

You might be interested in
Question #2
stiks02 [169]

Answer:

Step 1: define task

Step 2: process

Step 3: input

Step 4: output

Step 5: check accuracy

Explanation:

Took the test.

4 0
3 years ago
What does setTempo() allow you to do in EarSketch?
vlada-n [284]
Specify the tempo of a song
4 0
2 years ago
System design is the determination of the overall system architecture-consisting of a set of physical processing components, ___
Alenkinab [10]

Answer:

C) Hardware, Software, People

Explanation:

System design is the determination of the overall system architecture-consisting of a set of physical processing components, Hardware, Software, People and the communication among them-that will satisfy the system’s essential requirements.

5 0
3 years ago
Read 2 more answers
Can u guys tell me what is the definition of umbra​
oksian1 [2.3K]

Answer:

the fully shaded inner region of a shadow cast by an opaque object, especially the area on the earth or moon experiencing the total phase of an eclipse.

Explanation:

i go.ogled it

5 0
3 years ago
Read 2 more answers
A) Why should assembly language be avoided for general application development?
garri49 [273]

Answer:

(A) Assembly language should be avoided for general application development for the following reasons:

i. It is difficult to write assembly language codes. It does not contain many tools and in-built functions to help with the development of these applications.

ii. Since general application development requires that the application be machine independent, writing such applications in assembly language (which is a low level, machine dependent language) might be a pain as it would require that the writer have sufficient knowledge of hardware and operating systems.

(B) The following are the circumstances where assembly language should be used:

i. Assembly languages are low level languages that are very close to machine languages that the machine or processor understands. Therefore, when writing codes for programs that should directly communicate with the processor, assembly language should be used.

ii. Since assembly language codes are machine dependent, when there is a need to write applications for target machines, they should be used.

iii. If there is a need to have very great control of certain features of your application and resources to be consumed such as amount of RAM, clock speed e.t.c, assembly languages are a great tool.

(C) Some of the advantages of compiled language over an interpreted language are:

i. Compiled languages are way faster than interpreted languages because the compiled languages are converted directly into native machine codes that are easy for the processor to execute. Put in a better way, with compiled languages, codes are compiled altogether before execution and therefore reduces the overhead caused at run time. Interpreted languages on the other hand executes codes line after line thereby increasing the overhead at run time.

ii. Since codes are compiled first before execution in compiled languages, nice and powerful optimizations can be applied during the compilation stage.

(D) Interpreted languages could be chosen over compiled languages for the following reasons:

i. Interpreted languages are much more flexible and easier to implement than compiled languages as writing good compilers is not easy.

ii. Since interpreters don't need to convert first to intermediary codes as they execute these codes themselves, programs built with interpreters tend to be platform independent.

6 0
3 years ago
Other questions:
  • "a terminal has two input queues." as a user types each character to the terminal, it is collected in the ____ queue.
    5·1 answer
  • How do Hlookup and Vlookup differ?
    5·2 answers
  • Which of the following scanning technique attackers use to bypass firewall rules, logging mechanism, and hide themselves as usua
    11·1 answer
  • Help , i couldn’t find this answer
    12·1 answer
  • To expand a window to the full size of the screen.​
    6·2 answers
  • Which of the following is the MOST sensitive Personally Identifiable Information (PII) and should be shared cautiously and only
    8·1 answer
  • Which is a good way to improve your credit score
    5·1 answer
  • The Counter Pattern
    14·1 answer
  • Characteristics of the printer​
    6·1 answer
  • ! (( i &gt; ( f + 1)) es verdadero o falso segun la logica de programación.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!