ok I added the tiprate
Code:
int main()
{
int choice;
double charge,
tiprate,
bonus,
saleTx;
bool running = true;
int main()
{
int choice;
double charge,
tiprate,
bonus,
saleTx;
bool running = true;
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
class Tips {
private:
double taxRate;
public:
Tips();
Tips(double tRate);
double computeTip(double totalBill, double tipRate);
};
Tips::Tips()
{
taxRate
#include <stdio.h>
#include <string.h>
using namespace std;
void main(void)
{
char str1[25], str2[25], dif;
printf("\nEnter the first String:");
gets(str1);
printf("\nEnter the second String;");
gets(str2);
dif = strcmp(str1, str2);
Leave a comment: