Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #44.2K
Ranked #4K
~996 People Reached
Favorite Forums
Favorite Tags
c++ x 3
c x 1
Member Avatar for xaop

I'm planning to design a program such that any number entered will be divided by all the numbers less than it and if any of the division gives 0 as the reminder,it is not a prime.Here is my attempt so far and iam not able to proceed after that.. [CODE]#include …

Member Avatar for technology
0
729
Member Avatar for barathdon

[CODE] #include<iostream.h> #include<conio.h> main() { int c=2,a=5; clrscr(); c = a++ - a; cout<<c; getch(); } [/CODE] I know the answer of this program. The result is 0. But i want to know the working of this program(I'm a newbie to c++. So, please help me..) Thanks.

Member Avatar for arkoenig
0
85
Member Avatar for madzam

someone please help me do the loop .....thanks ... ..here is the problem ...the user will enter integer values until 0 is entered. The program will find the lowest and highest values entered.It will also calculate the total number of value entered..... [code]#include <iostream> #include <iomanip> using std::cout; using std::cin; …

Member Avatar for mahmud.2345
0
92
Member Avatar for p@rse

I have had this problem many times and I have never been able to get my while loops corrected, hence the reason I never used them, so maybe I need a professional solution to the problem. I never really got classes on how they worked, although they had some relevance …

Member Avatar for mahmud.2345
0
90