Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 9
Member Avatar for Syafiq_1

Given functions in Figure 3, write a program in C++ to insert nodes in a linked list in ascending order. Values for node will be entered by user. Your answer should include code to find previous node when insertAfter(node *previous,node *newNode)is called. ![094d4b79872858cd76c4830f50d6c6cf](/attachments/large/4/094d4b79872858cd76c4830f50d6c6cf.JPG "094d4b79872858cd76c4830f50d6c6cf") Please someone tell me how im …

Member Avatar for Aswad_1
0
124
Member Avatar for Syafiq_1

I want to make a program that can display the name and marks that user put and then the name will be sorted alphabetically. According to these two example i still cant get it. I have go through many examples on the internet but i still dont know how. Someone …

Member Avatar for Lerner
0
2K
Member Avatar for Syafiq_1

How can i possibly use array to create a password program? #include <iostream> using namespace std; main() { int password[5] = {1,2,3,4,5}; int pass[5]; cout << "enter pass: "; cin >> pass[5]; if(pass[5] == password[5]) { cout <<"hey"; } else { cout << "error"; } }

Member Avatar for Learner010
-1
107
Member Avatar for Syafiq_1

why i cant move the formula under int main()? #include <iostream> #include <stdlib.h> using namespace std; double fIntoCm(double dIn) { double dCm; dCm = dIn*2.54; return (dCm); } double fYtoM(double dY) { double dM; dM = dY*0.914; return (dM); } double fOtoM(double dO) { double dM2; dM2 = dO*29.574; return …

Member Avatar for gerard4143
0
187
Member Avatar for Syafiq_1

#include<fstream.h> #include<string.h> #include<iostream.h> #include<conio.h> #include<stdio.h> class student{ protected: char name[40]; char roll[10]; char dep[5]; char batch[5]; void get(){ cout<<"\n enter the name"; cin>>name; cout<<"\n enter the roll"; cin>>roll; cout<<"\n enter the deperment"; cin>>dep; cout<<"\n enter the batch"; cin>>batch; } }; class cgpa:protected student{ private: char subname[10][20]; char subcode[10][20]; float gpa[10]; …

Member Avatar for richieking
0
179
Member Avatar for Syafiq_1

write a program to request two integer number,x and y. If x falls within the range of -2 and 7, y is either 5 or 10, then the program will display ""within range". Otherwise the program displays "out of range".

Member Avatar for Syafiq_1
0
176