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;
}