Westonci.ca is the premier destination for reliable answers to your questions, brought to you by a community of experts. Discover in-depth answers to your questions from a wide network of experts on our user-friendly Q&A platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

write the c programming that takes the input of 25 employees salaries and count the number of employees who are getting salary between 30000 and 400000

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
We appreciate your visit. Our platform is always here to offer accurate and reliable answers. Return anytime. We hope this was helpful. Please come back whenever you need more information or answers to your queries. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.