How to create a program that will accept 20 numbers and print the last 5 inputs and their sum. in C++

前端 未结 0 1101
慢半拍i
慢半拍i 2020-12-07 18:12

I can\'t figure out how to print the last 5 inputs and their sum.

this is my code atm. I was able to accept 20 numbers, however, I ended up finding all of their sums.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题