Looking for reliable answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.
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

Thanks for using our platform. We're always here to provide accurate and up-to-date answers to all your queries. We hope this was helpful. Please come back whenever you need more information or answers to your queries. Westonci.ca is here to provide the answers you seek. Return often for more expert solutions.