15,894,460 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Assam ALzookery (Top 27 by date)
Assam ALzookery
20-Nov-16 16:47pm
View
Would you please show the best way to solve this warning
Assam ALzookery
30-Sep-16 22:42pm
View
Thank you for taking the time to respond to my question , i would really appreciate if you can answer this question by posting what you can to help me better understand.
Thank you
Assam ALzookery
29-Sep-16 21:47pm
View
no i tried it doesn't work. can you please try to run it
Assam ALzookery
29-Sep-16 13:58pm
View
First of all, Can you please tell me why i can't see any output after i run the program
Assam ALzookery
16-Feb-16 11:16am
View
i don't know how to finish cpp file to get the result
Thank you
Assam ALzookery
9-Nov-15 8:53am
View
@PIEBALDconsult don't respond to any questions if u can't help...useless just something beginning with U
Assam ALzookery
8-Nov-15 20:35pm
View
A function is a block of code that has a name and it has a property that it is reusable it can be executed from as many different points in a C
Assam ALzookery
4-Nov-15 19:32pm
View
Deleted
ask the user to enter student.txt and than displays the average score by reading the data from the file.
Assam ALzookery
4-Nov-15 19:21pm
View
Deleted
but the information in the link given doesn't explain how to create text file
Assam ALzookery
4-Nov-15 18:49pm
View
Deleted
@pwasser Please check the new update of the question, also the user have to enter the same file name witch is student.txt
Assam ALzookery
1-Nov-15 20:00pm
View
Deleted
is it better like this ??
#include
using namespace std;
int main() {
int n;
int sum=0;
int product = 1;
int countNumber = 0;
cout << "Please enter the number of positive integers = ";
cin >> n;
for (int current = 2; current < n; current += 2)
cout << current << endl;
{
if (n % 2 == 0) {
sum = sum + n;
product = product * n;
n = n - 1;
}
cout << " The even Numbers are = " << n << endl;
cout << "The sum of the integers number = " << sum << endl;
cout << " The product number of integers = " << product << endl;
}
system("pause");
return 0;
}
Assam ALzookery
1-Nov-15 19:59pm
View
is it better like this ??
#include <iostream>
using namespace std;
int main() {
int n;
int sum=0;
int product = 1;
int countNumber = 0;
cout << "Please enter the number of positive integers = ";
cin >> n;
for (int current = 2; current < n; current += 2)
cout << current << endl;
{
if (n % 2 == 0) {
sum = sum + n;
product = product * n;
n = n - 1;
}
cout << " The even Numbers are = " << n << endl;
cout << "The sum of the integers number = " << sum << endl;
cout << " The product number of integers = " << product << endl;
}
system("pause");
return 0;
}
Assam ALzookery
1-Nov-15 16:49pm
View
can you tell me where's my mistake
#include <iostream>
using namespace std;
int main() {
int n;
int sum;
int product=1;
int countNumber = 0;
cout << "Please enter the number of positive integers = ";
cin >> n;
if (n % 2 == 0) {
for (sum = 0; n >= 0;)
{
sum = sum + n;
product = product * n;
n = n + 2;
}
}
cout << "The even Numbers are = " << n << endl;
cout << "The sum the integers number = " << sum << endl;
cout << " The product number of integers = " << product << endl;
system("pause");
return 0;
}
Assam ALzookery
1-Nov-15 16:03pm
View
I have already did , When i enter 0 the result is = 1
when i enter navigate number the result = 1
Assam ALzookery
1-Nov-15 15:30pm
View
Thank you , I have already answer the question for this one
Assam ALzookery
31-Oct-15 19:54pm
View
when i enter number 0 ..the result is 1 so means something wrong
can you tell me where's my mistake
Assam ALzookery
31-Oct-15 19:36pm
View
#include
using namespace std;
int main() {
int Num;
double product = 1;
int integerNumber;
int countNumber = 0;
cout << "Please enter the number of integer = ";
cin >> Num;
while (Num>countNumber)
{
cout << "Please enter the integers = ";
cin >> integerNumber;
if ( integerNumber == 0){
break;
}else if (integerNumber>= 1){
product = product * integerNumber;
countNumber = countNumber +1;
}
}
cout << " the product number of all integers is = " << product << endl;
system("pause");
return 0;
}
Thank you for always trying to help me out to solve this problem
Assam ALzookery
31-Oct-15 19:19pm
View
#include
using namespace std;
int main() {
int Num;
double product = 1;
int integerNumber;
int countNumber = 0;
cout << "Please enter the number of integer = ";
cin >> Num;
while (Num>countNumber)
{
cout << "Please enter the integers = ";
cin >> integerNumber;
if ( integerNumber =0){
break;
}else if (integerNumber>1){
product = product * integerNumber;
countNumber = countNumber +1;
}
}
cout << " the product number of all integers is = " << product << endl;
system("pause");
return 0;
}
let me know if I'm still wrong
Assam ALzookery
31-Oct-15 18:50pm
View
Yes you're right product means Multiply ......
#include <iostream>
using namespace std;
int main() {
int Num;
double product = 0;
int integerNumber;
int countStudent = 0;
cout << "Please enter the number of student = ";
cin >> Num;
while (Num>countStudent)
{
cout << "Please enter the integer = ";
cin >> integerNumber;
product = product + integerNumber;
countStudent = countStudent + 1;
if ( integerNumber <0){
integerNumber = integerNumber * -1;
}else if (integerNumber>0){
integerNumber = integerNumber * 1;
}
}
cout << "The avarage Grade of all students is = " << product << endl;
system("pause");
return 0;
}
Please tell me if I'm wrong
Thank you
Assam ALzookery
31-Oct-15 18:27pm
View
you absolutely right, try to help me to solve this problem by giving me some step
Assam ALzookery
31-Oct-15 18:25pm
View
absolutely, Thank you Again
Assam ALzookery
31-Oct-15 17:45pm
View
Than you and God bless You
If you have the time please try to help me out with my other question
http://www.codeproject.com/Questions/1045583/Write-a-program-that-prompts-the-user-for-a-collec?arn=0
Assam ALzookery
31-Oct-15 17:39pm
View
Thank you for your help , but its required to use the do while statement
Assam ALzookery
31-Oct-15 17:28pm
View
i don't know how to display the menu again when the user chose number between 1-5
Assam ALzookery
20-Oct-15 22:21pm
View
can you help me to solve this problem
http://www.codeproject.com/Questions/1041881/how-to-use-while-loop-to-answer?arn=0
Assam ALzookery
20-Oct-15 21:02pm
View
i did please try to answer my question if you can
Thank you.
Assam ALzookery
20-Oct-15 20:56pm
View
i really did but i have hard time to calculate the average of the grades
#include <iostream>
using namespace std;
int main (){
int studentNum;
int sudentGrade;
int avarageGrade;
int countStudent = 0;
cout << "Please enter the number of student = ";
cin >> studentNum;
while (studentNum>countStudent)
{
cout << "Please enter the grade = ";
cin >> sudentGrade;
}
system("pause");
return 0;
}
Show More