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

(Solved) : 2r 4 Enclosure Composed Rectangular Portion Semicircular Portion Dimensions Shown Diagram Q36597820 . . . .(Solved) : 2r 4 Enclosure Composed Rectangular Portion Semicircular Portion Dimensions Shown Diagram Q36597820 . . . .

<p><img alt="2R 4. An enclosure composed of a rectangular portion and a semicircular portion, with dimensions as shown in the diagram abov" src="https://media.cheggcdn.com/media%2F234%2F23483d6a-71c2-41e6-93e6-a892ba3c6ca1%2FphpnTVcUP.png" style="height:1024px;width:818px;" aria-describedby="d3f"/></p><p><img alt="c) Write a script that