how to write a program ? "for beginners"

Apr 15, 2012 at 1:08pm

1. Write a C++ program that takes numbers from the user until he enter zero and display the maximum and the minimum number.

2. Write a C++ program that takes a set of numbers from the user and display the summation and their average.



Last edited on Apr 15, 2012 at 1:18pm
Apr 15, 2012 at 1:20pm
Where is your current code for this? What areas do you need help in? Start with step #1 and try to execute it, and so on. Comprehend each small piece at a time.
Apr 15, 2012 at 1:28pm
What do you mean with my current code?
Apr 15, 2012 at 1:35pm
The code that you have started for this project.
Apr 15, 2012 at 1:39pm
#include<iostream.h>
you mean this?
Apr 15, 2012 at 1:52pm
Yes, have you been able to figure any of it out? Do you need help getting going? You cannot just copy and paste an assignment in without explaining the problems your having completing it and expect it to be done by others.

Last edited on Apr 15, 2012 at 1:52pm
Apr 15, 2012 at 8:33pm
I do know the first few steps as it's my first program to write so it's not that easy.
1)
#include<iostream.h>
void main()
{
int x;
int min;
int max;
cout<<please enter numbers;



Last edited on Apr 15, 2012 at 8:35pm
Topic archived. No new replies allowed.