Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.
Sagot :
Using the computational language in C++ it is possible to write a code that uses the salary values of the employees of a company dividing between the number of employees.
Writing the code in C++ is possible:
#include<stdio.h>
#inc1ude<conio.h>
void main()
{
int i, n, count = 0;
Long int salary[25];
clrscr();
printf(“\n Input salary of 25 persons:- ");
for(i=0;i<25;i++)
scanf("%ld", &salary[i]);
for(i=0;i<25;i++)
{
if(Salary[i]>30000 && salary[i]<40000)
count++;
}
printf("There are %d persons whose salary is in between 30000 and 40000",count);
getch();
}
See more about C++ code brainly.com/question/17544466
#SPJ1
![View image lhmarianateixeira](https://us-static.z-dn.net/files/dfb/f77fe7b1787e1b2a22e6d6442ba489f3.png)
We appreciate your visit. Hopefully, the answers you found were beneficial. Don't hesitate to come back for more information. We appreciate your time. Please revisit us for more reliable answers to any questions you may have. Westonci.ca is here to provide the answers you seek. Return often for more expert solutions.