Hey guys
How can I input a data field into a class
Is it with the use of (int)?
Here is the question
Design a job class with three data fields--Job number, time in hours to complete the Job, and rate per hour charged for the Job.
#include<iostream.h>
#include<conio.h>
class Job
{
private:
int JobNum;
int Hours;
double Rate;
};
Would this be correct?