Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Cariam009

New Coder
I got an homework that tells me to write a program with c that is supposed to(1. Semester):
1. scan 5 integers
2. find out the maximum and minimum sum possible if i only sum 4 of these 5 integers up.
3. this should be done in a singular loop and i dont need to print out the choosen 4 numbers.
I might want to add that we have just learned about loops but dont know about arrays yet.
I have googled ways but they all seemed like including stuff i have not learned about yet.
Does someone have a hint for me on how i could start?
 
I got an homework that tells me to write a program with c that is supposed to(1. Semester):
1. scan 5 integers
2. find out the maximum and minimum sum possible if i only sum 4 of these 5 integers up.
3. this should be done in a singular loop and i dont need to print out the choosen 4 numbers.
I might want to add that we have just learned about loops but dont know about arrays yet.
I have googled ways but they all seemed like including stuff i have not learned about yet.
Does someone have a hint for me on how i could start?
Hi there,
It be easier for you to get assistance with your assignment if you were to post what you have :). If you need help on where to start, you can start with that you think makes sense logically. For example, you could start by looking into finding the minimum and maximum of a list of numbers ;)
 

New Threads

Buy us a coffee!

Back
Top Bottom