Course Solutions Uncategorized (Solved) : Please Edit Following C Code Char S Doubles Also Input Test Following Values Show Output P Q32477772 . . . .

(Solved) : Please Edit Following C Code Char S Doubles Also Input Test Following Values Show Output P Q32477772 . . . .

 

Please edit the following C++ code so that char’s and doublescan also be input. Test with the following values and show outputplease.

values to test: 201, 203.50, 205, 205.8, 206,206.5

then test: a, b, C, A, B, C, x, y, z

code:

#include “pch.h”

#include <cstdlib>

#include<iostream>

#include <iomanip>

#include <fstream>

using namespace std;

struct node

{

int info;

struct node *ptr;

}*top, *top1, *temp;

int topelement();

void push(int data);

void pop();

void empty();

void display();

void destroy();

void stack_count();

void create();

int count1 = 0;

int main()

{

int no, ch, e;

cout << “n ——————— Stack using Linked List——————-“;

cout << “n | 1 – Push |”;

cout << “n | 2 – Pop |”;

cout << “n | 3 – Display |”;

cout << “n | 4 –

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : Problem 3-16 Obtain estimates of daily relatives for the number of customers at a restaurant for the evening meal, given the(Answered) : Problem 3-16 Obtain estimates of daily relatives for the number of customers at a restaurant for the evening meal, given the

Problem 3-16 Obtain estimates of daily relatives for the number of customers at a restaurant for the evening meal, given the following data. Day Number Served Day Number Served 1 80 15 84 2 75 16 78 3 78 17 83 4 95 18 96 5 130 19 135 6 136 20 140 7 40 21 44 8 82 22 87 9 77 23 82 10 80 24 88 11 94 25 99 12 131 26 144 13 137 27 144 14 42 28 48 Use the centered moving average method. (Hint: Use a