Computer Science, asked by ranjanpandit730, 9 months ago

HelpIndia, a famous NGO has been selective in identifying events to raise funds for charity. Suzanne is a volunteer from the NGO who was selling tickets to the public for the charity event. She sold 'X' more adult tickets than children tickets and she sold twice as many senior tickets as children tickets. Assume that an adult ticket costs $5, children ticket costs $2 and senior ticket costs $3. Suzanne made 'Y' dollars from ticket sales. Find the number of adult tickets, children tickets, and senior tickets sold.

Answers

Answered by Sweetylalu
0

Answer:

Explanation:

Hgjggdhgddgeegegrhffhtjfjfjfhfhhfhdjtttffgg

Answered by suwathi08
3

Answer:

Explanation:

#include<stdio.h>

int main()

{

   int x,y,a,b,c;

   printf("Enter the value of X\n");

   scanf("%d",&x);

   printf("Enter the value of Y\n");

   scanf("%d",&y);

   a=(y-(5*x))/13;

   b=x+a;

   c=(2*a);

   printf("Number of children tickets sold : %d\n",a);

   printf("Number of adult tickets sold : %d\n",b);

   printf("Number of senior tickets sold : %d",c);

   return 0;

}

Similar questions