i can't write a code for a program.Please help me guys.
It goes like this:
Create a program that displays the total amount a company owes for a seminar.The seminar rate is $80/person.
The input is the seminar rate and the number of seminar registrants,which should be greater than 0 but less than 50.
Display an appropriate error message when the number of registrants is invalid.