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 –
PayPal Gateway not configured
PayPal Gateway not configured