Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #54.9K
~274 People Reached
Favorite Forums
Favorite Tags
Member Avatar for mohamed.abdelsalam.96558061

#include <cstdlib> #include <iostream> using namespace std; int main() { float op1,op2,answer; char op; cout<<"Entre the first numper"; cin>>op1; cout<<"/nEnter the operation"; cin>>op; cout<<"/nEntre the second numper"; cin>>op2; if(op=='+') answer=op1+op2; if(op=='-') answer=op1-op2; if(op=='*') answer=op1*op2; if(op=='/') answer=op1/op2; else cout<<op1<<op<<op2<<" = "<<answer; system("PAUSE"); }

Member Avatar for ookhan
0
94
Member Avatar for suhasgh

Hi, i'm trying to delete last node of linked list and print the remaining list at each step. for this i created 'Print' function. please take a look at this code: struct Node{ int data; Node *next; }; void Print(Node *head){ if(head==0) return; else{ Node *temp=head; Node *prev=head; while(temp!= NULL){ …

Member Avatar for ookhan
0
180