Question
Please fix my error please. inputs: 1050 2050 2270 3050 3280 3330 3380 4050 4330 4520 4850 4970 4980 result should be the printed numbers
Please fix my error please.
inputs:
1050
2050
2270
3050
3280
3330
3380
4050
4330
4520
4850
4970
4980
result should be the printed numbers with the ascending order.
Howwver, when I run the code, it just print 1050 and then it prints out 2050 infinitely...
#include
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started