how to write a program ? "for beginners"


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
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.
What do you mean with my current code?
The code that you have started for this project.
#include<iostream.h>
you mean this?
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
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
Topic archived. No new replies allowed.