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
~551 People Reached
Favorite Forums
Favorite Tags
Member Avatar for northrox

the loop runs infinte for the second ittiration //attempt two to make the student data base the other way // this program runs onlu once and does not hav any data base once u exit #include<iostream> #include<conio.h> using std::cout; using std::endl; using std::cin; int count=0; class student { double m_roll[100],m_class[100]; …

Member Avatar for Lucaci Andrew
0
212
Member Avatar for northrox
Member Avatar for northrox

i still cant get an out put.. plus cin.get() doent work here.. why? [CODE]// to find factorial of a number #include<iostream.h> #include<conio.h> int main() { int i,m; cout<< "enter a number"; cin>> i; for ( int p=i;p>=0;p--) { p=p*(p-1); p=m; } cout << m; getch(); return(0); } [/CODE]

Member Avatar for Schol-R-LEA
0
96
Member Avatar for northrox

[CODE=cpp]#include <iostream.h> #include <conio.h> int main() { int number[5]; cout<< " enter the number \n"; for (int i=0;i<=5;i++) { while (i!=$) { cin >> number[i]; } } for (int i;i<='null';i++) { cout<< "number="<<number[i]; } getch(); return (0); }[/CODE] i have used a special character which tells the user to press$ …

Member Avatar for Schol-R-LEA
0
121