The regular fare rate for the first 4kms of a public utility Jeepney (PUJ) under the protection of Republic Act 14344 is 8.00php and 7.00php for regular and student/elderly/PWD (Person with disability) passengers respectively. For every succeeding kilometer, the regular passenger has an additional fare rate of 1.50/km and 1.25/km for student/elderly/PWD.
Create a program that will take input from the user on the passenger type and distance traveled in km by a passenger. Afterward, display the distance traveled in km, passenger type, and its total fare cost.
Answers
Answered by
3
Answer:
Biodiversity boosts ecosystem productivity where each species, no matter how small, all have an important role to play. For example, A larger number of plant species means a greater variety of crops. Greater species diversity ensures natural sustainability for all life forms.
Answered by
3
This is your program
#include <iostream>
using namespace std;
int main()
{
char sample[] = “GeeksforGeeks”;
cout<<samle<<” – A computer science portal for geeks”;
return 0;
}
pls mark me as brain list
Similar questions