I'm trying to write a program that reads information and prints a payroll statement, however when I give it the name on the first cout it only gives me R instead of Roel (my name) at the end where it says cout << "Employee Name: " << n. Could someone please guide me to fix this? Thank You!
#include <iostream>
using namespace std;
int main()
{
char n ;
double h ;
double r ;
double f ;
double s ;